Class Index | Cross Index | Namespace Index |
Class to handle frame I/O.
Contained in: FrameCPP::Version_6
Derived from:
Common::OFrameStream
FrameCPP::Version_6::FrameStreamBase
Derived by:
none
#include "../../../../../lib/framecpp/src/Version6/OFrameStream.hh"
public function member index: |
|||
OFrameStream | (std::ostream& Stream, const std::vector< io_calls_type >& LibraryDefs, INT_4U NumberOfClassTypes, CheckSum::kind_type CheckSumMethod = CheckSum::CRC , const std::string& Originator = DEFAULT_ORIGINATOR); | Constructor | |
OFrameStream | (std::ostream& Stream, CheckSum::kind_type CheckSumMethod = CheckSum::CRC, const std::string& Originator = DEFAULT_ORIGINATOR); | ||
~OFrameStream | (); | Destructor | |
void | AppendObject | (FrBase& Object); | Append an object to the current stream |
void | WriteDictionary | (FrBase& Base); | |
void | WriteDictionary | (const FrBase& Base); | |
void | WriteFrBasePtr | (const FrBase* Object); | |
void | WriteFrStatData | (FrStatData& StatData); | |
void | WriteFrame | (FrameH& Frame, CheckSum::kind_type CheckSumMethod = CheckSum::NONE); | |
void | WriteFrame | (FrameH& Frame, FrVect::compression_scheme_type Method, int Level, CheckSum::kind_type CheckSumMethod = CheckSum::NONE); | |
void | WriteObject | (FrBase& Base, bool Compress = false, FrVect::compression_scheme_type Method = FrVect::RAW, int Level = 0); | |
void | close | (); | |
OFrameStream& | operator << | (const T* Data); | Write data to the stream |
OFrameStream& | operator << | (const std::vector< T >& Data); | Write a vector of data to the stream |
OFrameStream& | operator << | (const T& Data); | Write data to the stream |
OFrameStream& | operator << | (Container< T >& Data); | Write container to the stream |
OFrameStream& | operator << | (const Container< T >& Data); | Write container to the stream |
void | write | (FrBase& Object); | |
void | write | (const void*Buffer, INT_8U Length); | |
private function member index: |
|||
OFrameStream | (const OFrameStream&); | ||
void | init | (INT_4U NumberOfClassTypes, CheckSum::kind_type CheckSumMethod, const std::string& Originator); | |
const OFrameStream& | operator = | (const OFrameStream&); | |
Parameters:
Parameter | Description |
std::iostream& Stream | Input or Output stream |
Write an object to the stream
Parameters:
Parameter | Description |
FrBase& Object | Object to be written. The instance value will be adjusted appropriately. |
Table of contents to use. When reading the stream, the TOC is consulted for object offsets. When writing, the TOC is generated as objects are written and written to file when the FrameStream is delete or closed.