Class Index Cross Index Namespace Index

Class FrameCPP::Version_3_4_5::FrameWriterTOC

FrameWriterTOC
Contained in: FrameCPP::Version_3_4_5
Derived from: FrameCPP::Version_3_4_5::Output FrameCPP::Version_3_4_5::TOC
Derived by: FrameCPP::Version_3_4_5::FrameAppendWriterTOC

#include "../../../../../lib/framecpp/src/Version3_4_5/framewritertoc.hh"


public function member index:

FrameWriterTOC(std::ostream& out); Constructs an object and writes the fileheader.
virtual ~FrameWriterTOC(); Destructor
void close(unsigned long dummy = 0); Write the TOC and close the file
virtual void startRecord(INT_2U classId, INT_4U length, const Base* b); Begins a record.
 

Description:



Function Member Descriptions:


FrameCPP::Version_3_4_5::FrameWriterTOC::FrameWriterTOC - Constructs an object and writes the fileheader.


FrameWriterTOC(std::ostream& out);

Exceptions:
ExceptionDescription
write_failure



FrameCPP::Version_3_4_5::FrameWriterTOC::~FrameWriterTOC - Destructor


virtual ~FrameWriterTOC();

Exceptions:
ExceptionDescription
write_failure



FrameCPP::Version_3_4_5::FrameWriterTOC::close - Write the TOC and close the file


void close(unsigned long dummy = 0);



FrameCPP::Version_3_4_5::FrameWriterTOC::startRecord - Begins a record.


virtual void startRecord(INT_2U classId, INT_4U length, const Base* b);
This writes out the length, class and instance id of the object and also initializes the ObjectInfo structure. Overloaded from Output class. TOC hosekeeping code.

Exceptions:
ExceptionDescription
write_failure



Variable Member Descriptions:


FrameCPP::Version_3_4_5::FrameWriterTOC::raw_seen - RawData was written out.

bool raw_seen;

FrameCPP::Version_3_4_5::FrameWriterTOC::tocSize - Offset to the start of TOC in file.

unsigned long tocSize;