BIE::RecordOutputStream_Ascii Class Reference

A record output stream that writes to an ascii file. More...

#include <RecordStream_Ascii.h>

Inheritance diagram for BIE::RecordOutputStream_Ascii:
Collaboration diagram for BIE::RecordOutputStream_Ascii:

List of all members.

Public Member Functions

 RecordOutputStream_Ascii (RecordOutputStream *stream, string filename, bool writemetadata)
 Constructs an output stream which writes all records pushed by the specified stream into a file with the given name.
 RecordOutputStream_Ascii (int streamindex, string filename, bool writemetadata)
 Constructs an output stream which writes all records pushed by the stream specified by ID into a file.
 RecordOutputStream_Ascii (RecordOutputStream *stream, ostream *asciistream, bool writemetadata)
 Constructs a new record output stream which writes all records pushed by the record stream (specified by ID) to specified output stream (possibly a file or network connection).
 RecordOutputStream_Ascii (int streamindex, ostream *asciistream, bool writemetadata)
 Constructs a new record output stream which writes all records pushed to the specified record stream to specified output stream (possibly a file or network connection).
 ~RecordOutputStream_Ascii ()
 Closes the output file if it was opened by this class.
virtual void pushRecord ()
 Writes out the current record to the file.
string toString ()
 Returns a string representation of the stream.

Friends

class boost::serialization::access


Detailed Description

A record output stream that writes to an ascii file.

The files are written in the same format read by the RecordInputStream_Ascii class.

See also:
RecordInputStream_Ascii

Constructor & Destructor Documentation

BIE::RecordOutputStream_Ascii::RecordOutputStream_Ascii ( RecordOutputStream stream,
string  filename,
bool  writemetadata 
)

Constructs an output stream which writes all records pushed by the specified stream into a file with the given name.

If the final argument field is set to true, then a type-tag is written at the beginning of the file.

BIE::RecordOutputStream_Ascii::RecordOutputStream_Ascii ( int  streamindex,
string  filename,
bool  writemetadata 
)

Constructs an output stream which writes all records pushed by the stream specified by ID into a file.

If the final argument field is set to true, then a type-tag is written at the beginning of the file.

BIE::RecordOutputStream_Ascii::RecordOutputStream_Ascii ( RecordOutputStream stream,
ostream *  asciistream,
bool  writemetadata 
)

Constructs a new record output stream which writes all records pushed by the record stream (specified by ID) to specified output stream (possibly a file or network connection).

If the final argument field is set to true, then a type-tag is written to the stream.

BIE::RecordOutputStream_Ascii::RecordOutputStream_Ascii ( int  streamindex,
ostream *  asciistream,
bool  writemetadata 
)

Constructs a new record output stream which writes all records pushed to the specified record stream to specified output stream (possibly a file or network connection).

If the final argument field is set to true, then a type-tag is written to the stream.


The documentation for this class was generated from the following file:

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:13 2010 by doxygen