Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DatagramOutputFile Class Reference

#include <datagramOutputFile.h>

Inheritance diagram for DatagramOutputFile:

DatagramSink List of all members.

Public Member Functions

INLINE DatagramOutputFile ()
INLINE bool open (Filename filename)
bool write_header (const string &header)
virtual bool put_datagram (const Datagram &data)
virtual bool is_error ()
INLINE void close ()

Private Attributes

bool _wrote_first_datagram
bool _error
ofstream _out

Constructor & Destructor Documentation

INLINE DatagramOutputFile::DatagramOutputFile  ) 
 


Member Function Documentation

INLINE void DatagramOutputFile::close  ) 
 

Referenced by BamFile::close().

bool DatagramOutputFile::is_error  )  [virtual]
 

Implements DatagramSink.

Definition at line 67 of file datagramOutputFile.cxx.

References _error, and _out.

INLINE bool DatagramOutputFile::open Filename  filename  ) 
 

Referenced by BamFile::open_write().

bool DatagramOutputFile::put_datagram const Datagram data  )  [virtual]
 

Implements DatagramSink.

Definition at line 45 of file datagramOutputFile.cxx.

References _out, _wrote_first_datagram, Datagram::add_uint32(), data, Datagram::get_data(), and Datagram::get_length().

bool DatagramOutputFile::write_header const string &  header  ) 
 

Definition at line 31 of file datagramOutputFile.cxx.

References _out, and _wrote_first_datagram.

Referenced by BamFile::open_write().


Member Data Documentation

bool DatagramOutputFile::_error [private]
 

Definition at line 47 of file datagramOutputFile.h.

Referenced by is_error().

ofstream DatagramOutputFile::_out [private]
 

Definition at line 48 of file datagramOutputFile.h.

Referenced by is_error(), put_datagram(), and write_header().

bool DatagramOutputFile::_wrote_first_datagram [private]
 

Definition at line 46 of file datagramOutputFile.h.

Referenced by put_datagram(), and write_header().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:11:50 2003 for Panda by doxygen1.3