UNIVERS
15.3
UNIVERS base processing software API
|
#include <SerialFile.hpp>
Public Member Functions | |
OutputFileStream (int fildes, ByteOrder arch) | |
void | put_arch_signature () |
Public Member Functions inherited from OutputStream | |
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) |
Protected Attributes | |
int | fd |
int | offset |
Basic class for serialization of an object contents to external media storage represented as UNIX file (pipe, socket).
OutputFileStream::OutputFileStream | ( | int | fildes, |
ByteOrder | arch | ||
) |
Architecture specifics must be known just after construction
void OutputFileStream::put_arch_signature | ( | ) |
Put information about architecture to the stream (see InputFileStream::get_arch_signature())
|
protectedvirtual |
Raw method to put data of given size to the stream; src is always != NULL
Implements OutputStream.
|
protected |
Stored file descriptor.
|
protected |
Offset counter.