Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Phx::BitVector::OutputFile Class Reference

Represents a file to which BitVector's can be stored. More...

#include <PhxBitVector.h>

List of all members.

Public Member Functions

 OutputFile (const String &fileName)
 Attempts to create a new OutputFile from the file with specified name.
virtual ~OutputFile ()
 Destroys the file object, automatically closing the file.
void newBitVector (const BitVector &bitVector)
 Adds a new BitVector to the file.
uint32_t bitVectorCount (void) const
 The number of BitVectors written to the file thus far.


Detailed Description

Represents a file to which BitVector's can be stored.


Constructor & Destructor Documentation

Phx::BitVector::OutputFile::OutputFile const String &  fileName  ) 
 

Attempts to create a new OutputFile from the file with specified name.

Parameters:
fileName The name of the file to open for writing.
Exceptions:
IOException thrown if the file could not be created/opened.


Member Function Documentation

uint32_t Phx::BitVector::OutputFile::bitVectorCount void   )  const [inline]
 

The number of BitVectors written to the file thus far.

Returns:
The number of BitVectors in the file; i.e., the number of times newBitVector() has been called.

void Phx::BitVector::OutputFile::newBitVector const BitVector &  bitVector  ) 
 

Adds a new BitVector to the file.

Parameters:
bitVector The BitVector to be written to the file.


The documentation for this class was generated from the following file:
Generated on Wed Dec 21 22:05:39 2005 for Phoenix OSFS by  doxygen 1.4.2