UNIVERS
15.3
UNIVERS base processing software API
|
#include <Serial.hpp>
Public Member Functions | |
OutputStream (ByteOrder arch) | |
virtual | ~OutputStream () |
ByteOrder | arch () const |
virtual void | put_any (AtomType atom_type, unsigned count, const void *src=NULL) |
void | set_debug_level (int dl) |
int | get_debug_level () const |
Protected Member Functions | |
virtual void | put_data (size_t nbytes, const void *src)=0 |
Basic class for serialization of an object contents to external media storage.
OutputStream::OutputStream | ( | ByteOrder | arch | ) |
Architecture specifics must be known just after construction
|
virtual |
Free the growing buffer
|
inline |
The way to find out byte order and more specific information about source of the stream
|
inline |
Get debug level (0 means off)
|
virtual |
Handy method to convert arbitrary data (except EXOBJREF) to * external data representation. Strings of CHAR_ASCII, CHAR_EBCDIC and CHAR_2 will be converted until EOS but not more than count characters.
|
protectedpure virtual |
Raw method to put data of given size to the stream; src is always != NULL
Implemented in OutputFileStream.
|
inline |
Set debug level (0 means off)