Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

BinaryDFOutput< WO > Class Template Reference

A DF style output manager that writes the output in binary form. More...

#include <BinaryDFOutput.hpp>

List of all members.

Public Types

typedef WO::params_t params_t

Public Member Functions

 BinaryDFOutput (const params_t *par)
void pushItem (item_t item)
void write (counter_t support)
void pushItemWithWrite (item_t item, counter_t support)
void pushItemWithPrevSupport (item_t item)
void popItem ()
void popAll ()

Static Public Member Functions

static bool DINLINE isDFO ()

Private Attributes

std::vector< item_toutput_set
counter_t last_support


Detailed Description

template<class WO>
class BinaryDFOutput< WO >

A DF style output manager that writes the output in binary form.

WO must be a descendant of WriteOutput

Definition at line 22 of file BinaryDFOutput.hpp.


Member Typedef Documentation

template<class WO>
typedef WO::params_t BinaryDFOutput< WO >::params_t
 

Definition at line 26 of file BinaryDFOutput.hpp.


Constructor & Destructor Documentation

template<class WO>
BinaryDFOutput< WO >::BinaryDFOutput const params_t par  )  [inline]
 

Definition at line 27 of file BinaryDFOutput.hpp.

References BinaryDFOutput< WO >::output_set.


Member Function Documentation

template<class WO>
static bool DINLINE BinaryDFOutput< WO >::isDFO  )  [inline, static]
 

Definition at line 33 of file BinaryDFOutput.hpp.

template<class WO>
void BinaryDFOutput< WO >::popAll  )  [inline]
 

Definition at line 67 of file BinaryDFOutput.hpp.

References BinaryDFOutput< WO >::output_set.

template<class WO>
void BinaryDFOutput< WO >::popItem  )  [inline]
 

Definition at line 62 of file BinaryDFOutput.hpp.

References BinaryDFOutput< WO >::output_set.

template<class WO>
void BinaryDFOutput< WO >::pushItem item_t  item  )  [inline]
 

Definition at line 38 of file BinaryDFOutput.hpp.

References BinaryDFOutput< WO >::output_set.

Referenced by BinaryDFOutput< WO >::pushItemWithWrite().

template<class WO>
void BinaryDFOutput< WO >::pushItemWithPrevSupport item_t  item  )  [inline]
 

Definition at line 57 of file BinaryDFOutput.hpp.

References BinaryDFOutput< WO >::last_support, and BinaryDFOutput< WO >::pushItemWithWrite().

template<class WO>
void BinaryDFOutput< WO >::pushItemWithWrite item_t  item,
counter_t  support
[inline]
 

Definition at line 51 of file BinaryDFOutput.hpp.

References BinaryDFOutput< WO >::pushItem(), and BinaryDFOutput< WO >::write().

Referenced by BinaryDFOutput< WO >::pushItemWithPrevSupport().

template<class WO>
void BinaryDFOutput< WO >::write counter_t  support  )  [inline]
 

Definition at line 43 of file BinaryDFOutput.hpp.

References BinaryDFOutput< WO >::last_support, and BinaryDFOutput< WO >::output_set.

Referenced by BinaryDFOutput< WO >::pushItemWithWrite().


Member Data Documentation

template<class WO>
counter_t BinaryDFOutput< WO >::last_support [private]
 

Definition at line 73 of file BinaryDFOutput.hpp.

Referenced by BinaryDFOutput< WO >::pushItemWithPrevSupport(), and BinaryDFOutput< WO >::write().

template<class WO>
std::vector<item_t> BinaryDFOutput< WO >::output_set [private]
 

Definition at line 72 of file BinaryDFOutput.hpp.

Referenced by BinaryDFOutput< WO >::BinaryDFOutput(), BinaryDFOutput< WO >::popAll(), BinaryDFOutput< WO >::popItem(), BinaryDFOutput< WO >::pushItem(), and BinaryDFOutput< WO >::write().


The documentation for this class was generated from the following file:
Generated on Sun Sep 17 17:55:07 2006 for FIM environment by  doxygen 1.4.4