UNIVERS
15.3
UNIVERS base processing software API
|
#include <SerialFile.hpp>
Public Member Functions | |
InputFileStream (int fildes) | |
void | get_arch_signature () |
virtual ByteOrder | arch () const |
Public Member Functions inherited from InputStream | |
virtual void | get_any (AtomType atom_type, unsigned count, void *dst=NULL) |
void | set_debug_level (int dl) |
int | get_debug_level () const |
Protected Member Functions | |
virtual void | get_data (size_t nbytes, void *dst) |
Protected Attributes | |
ByteOrder | byte_order |
int | fd |
int | offset |
Basic class for deserialization from UNIX file (pipe, socket) input source.
InputFileStream::InputFileStream | ( | int | fildes | ) |
Create input file stream for given file descriptor.
|
virtual |
The way to find out byte order and more specific information about source of the stream
Implements InputStream.
void InputFileStream::get_arch_signature | ( | ) |
Get information about architecture from stream (see OutputFileStream::put_arch_signature())
|
protectedvirtual |
Raw method to get data of given size from the file; dst=NULL means skip the data
Implements InputStream.
|
protected |
Stored byte order.
|
protected |
Stored file descriptor.
|
protected |
Offset counter.