BIE::RecordOutputStream_NetCDF Class Reference

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

#include <RecordStream_NetCDF.h>

Inheritance diagram for BIE::RecordOutputStream_NetCDF:
Collaboration diagram for BIE::RecordOutputStream_NetCDF:

List of all members.

Public Member Functions

 RecordOutputStream_NetCDF (RecordOutputStream *stream, string filename)
 Constructs an output stream which writes all records pushed by the specified stream into a NetCDF file with the given name.
 RecordOutputStream_NetCDF (RecordOutputStream *stream, string filename, bool write_float)
 Constructs an output stream which writes all records pushed by the specified stream into a NetCDF file with the given name.
 ~RecordOutputStream_NetCDF ()
 Closes the NetCDF file if not already closed.
virtual void pushRecord ()
 Writes out the current record to the file.
string toString ()
 Returns a string representation of the stream.
void close ()
 Closes the netcdf file.


Detailed Description

A record output stream that writes to an NetCDF file.

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

See also:
RecordInputStream_NetCDF

Constructor & Destructor Documentation

BIE::RecordOutputStream_NetCDF::RecordOutputStream_NetCDF ( RecordOutputStream stream,
string  filename 
)

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

BIE::RecordOutputStream_NetCDF::RecordOutputStream_NetCDF ( RecordOutputStream stream,
string  filename,
bool  write_float 
)

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

Real values will be written as floats (doubles) if write_float is true (false).


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