DABC (Data Acquisition Backbone Core)
2.9.9
|
special class only to define how many data will be written to the stream More...
#include <dabc/Record.h>
Public Member Functions | |
virtual bool | is_real () const |
virtual uint64_t | maxstoresize () const |
return maximum size of data which can be stored in the stream More... | |
virtual bool | read (void *tgt, uint64_t len) |
virtual bool | shift (uint64_t len) |
virtual uint64_t | size () const |
return number of bytes, written or read from the stream More... | |
sizestream () | |
virtual bool | write (const void *src, uint64_t len) |
virtual | ~sizestream () |
Public Member Functions inherited from dabc::iostream | |
bool | is_input () const |
bool | is_output () const |
bool | read_double (double &v) |
bool | read_int32 (int32_t &v) |
bool | read_int64 (int64_t &v) |
bool | read_str (std::string &str) |
Restore string from the stream. More... | |
bool | read_uint32 (uint32_t &v) |
bool | read_uint64 (uint64_t &v) |
bool | skip_object () |
Insted of reading object we read size and shift on that size Only can be done where size stored as 32-bit integer in the current position and contains number of 64-bit stored values, including size itself. More... | |
bool | verify_size (uint64_t pos, uint64_t sz) |
bool | write_double (double v) |
bool | write_int32 (int32_t v) |
bool | write_int64 (int64_t v) |
bool | write_str (const std::string &str) |
Store string in the stream. More... | |
bool | write_uint32 (uint32_t v) |
bool | write_uint64 (uint64_t v) |
virtual | ~iostream () |
Protected Attributes | |
uint64_t | fLength |
Protected Attributes inherited from dabc::iostream | |
bool | fInput |
Additional Inherited Members | |
Static Public Member Functions inherited from dabc::iostream | |
static uint64_t | str_storesize (const std::string &str) |
Returns bytes count, required to store string. More... | |
Protected Member Functions inherited from dabc::iostream | |
iostream () | |
iostream (bool isinp) | |
virtual char * | tmpbuf () const |
return temporary buffer More... | |
virtual uint64_t | tmpbuf_size () const |
return number of bytes which are directly available in temporary buffer More... | |
special class only to define how many data will be written to the stream
|
inlinevirtual |
return number of bytes, written or read from the stream
Reimplemented from dabc::iostream.
|
inlinevirtual |
return maximum size of data which can be stored in the stream
Reimplemented from dabc::iostream.
|
inlinevirtual |
Reimplemented from dabc::iostream.
|
inlinevirtual |
Reimplemented from dabc::iostream.
|
inlinevirtual |
Reimplemented from dabc::iostream.
|
inlinevirtual |
Reimplemented from dabc::iostream.