Encode< T > Class Template Reference

Encode triples to a binary file. More...

Inheritance diagram for Encode< T >:
CodeBuffer< T > BlockBuffer CodeBlock BitBlock< unsigned int > EncodeDouble< T >

List of all members.

Public Member Functions

 Encode (int bufferSize, WriteQueueAccessFile *file, T *triple=0)
 Intialise the encode from a QueueAccessFile.
void refreshBuffer (void)
 Purge the buffer and block contents to the binary file and intialise.
long byteAlign (void)
 Return the position of the next free byte.
void truncateToNextBlock (int blockSize)
 Store block in buffer and truncate buffer size to the next free block.

Protected Attributes

WriteQueueAccessFile_file
 The QueueAccessFile to be written to.

Detailed Description

template<typename T>
class Encode< T >

Encode triples to a binary file.

This class allows the user to encode a list of triples to a binary file. The template parameter is the class of triples begin decoded.

Author
lapark
Revision
1.5
Date
2009/10/08 06:41:30
Id
Encode.tcc,v 1.5 2009/10/08 06:41:30 lapark Exp

The documentation for this class was generated from the following file:
 All Classes Functions Variables Friends

Generated on Tue Nov 10 14:12:13 2009 for textIR by  doxygen 1.6.1