Class Index | Cross Index | Namespace Index |
Output.
Contained in: FrameCPP::Version_3_4_5
Derived from:
none
Derived by:
FrameCPP::Version_3_4_5::FrameWriterTOC
#include "../../../../../lib/framecpp/src/Version3_4_5/output.hh"
public function member index: |
|||
Output | (std::ostream& out); | Constructs an output object and writes the fileheader. | |
virtual | ~Output | (); | Destructs the output object. |
virtual void | close | (unsigned long tocOffset = 0); | Finish frame file and close |
void | endRecord | (const Base* b); | Ends a record. |
inline INT_4U | getBytes | () const; | Get number of bytes written |
inline INT_4U | getFrames | () const; | Get the number of frame written |
Output& | operator << | (CHAR v); | Output a character |
Output& | operator << | (CHAR_U v); | Output an unsigned character |
Output& | operator << | (INT_2S v); | Output short integer |
Output& | operator << | (INT_2U v); | Output short unsigned integer |
Output& | operator << | (INT_4S v); | Output signed integer |
Output& | operator << | (INT_4U v); | Output unsigned integer |
Output& | operator << | (const INT_8S& v); | Output long integer |
Output& | operator << | (const INT_8U& v); | Output long unsigned integer |
Output& | operator << | (const REAL_4& v); | Output real number |
Output& | operator << | (const REAL_8& v); | Output double precision real number |
Output& | operator << | (const std::string& s); | Output a std::string |
Output& | operator << | (const Base* b); | Output an object |
Output& | operator << | (const Container< T >& c); | Output a container. |
Output& | operator << | (const Frame&); | Output a frame |
Output& | operator << | (const Reference& ref); | Output a reference |
void | queueObject | (const Base& o); | Place an object into the subobjects queue |
virtual void | startRecord | (INT_2U classId, INT_4U length, const Base* b); | Begins a record. |
void | write | (const void* buffer, unsigned int size); | Write bytes to the stream. |
virtual void | writeFrame | (const Frame& frame); | Serialize a frame |
protected function member index: |
|||
INT_2U | getInstance | (const Base* b); | Get object instance. |
private function member index: |
|||
void | open | (); | Write file header out |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
This method is executed when an object is finished writing itself. This method calls the write function for any objects it referred to and appends a pointer to the next object if it was a linked-list node.
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
This no longer needs to be a template
Exceptions:
Exception | Description |
write_failure | Write failed. |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
This writes out the length, class and instance id of the object and also initializes the ObjectInfo structure.
Exceptions:
Exception | Description |
write_failure | Write failed. |
Exceptions:
Exception | Description |
write_failure | Write failed. |
Outputs a frame object in the format defined by the frame spec.
Exceptions:
Exception | Description |
write_failure | Write failed. |
This is NOT reset for every frame. Kept throughout file output to make sure just one copy of SH (and one set of corresponding SEs) is output per structure type PER FILE.