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

BufferedNormalOutput< FR > Class Template Reference

A simple BufferedOutput manager. More...

#include <BufferedNormalOutput.hpp>

Inheritance diagram for BufferedNormalOutput< FR >:

Inheritance graph
[legend]
Collaboration diagram for BufferedNormalOutput< FR >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef BufferedOutput< FR
>::params_t 
params_t

Public Member Functions

 BufferedNormalOutput (const params_t *par)
template<typename InputIterator>
void writeItemsetAndCounter (InputIterator first, InputIterator last, counter_t support)
void pushItem (item_t item)
 Push an item to the top of the stack.
void write (counter_t support)
 write the content of the stack together with a counter
void pushItemWithWrite (item_t item, counter_t support)
 Push an item to the top of the stack and write the content of it together with a counter.
void pushItemWithPrevSupport (item_t item)
 Push an item to the top of the stack and write the content of it together with the previously used counter.
void popItem ()
 Pop an item from the top of the stack.
void popAll ()
 remove all items form the stack

Static Public Member Functions

static bool DINLINE isDFO ()

Protected Attributes

std::streamsize buffer_size
 The size of the buffer.
char * buffer
 The buffer.

Detailed Description

template<class FR = FDRepr>
class BufferedNormalOutput< FR >

A simple BufferedOutput manager.

Definition at line 18 of file BufferedNormalOutput.hpp.


Member Typedef Documentation

template<class FR = FDRepr>
typedef BufferedOutput<FR>::params_t BufferedNormalOutput< FR >::params_t
 

Reimplemented from OutputBase< FR >.

Reimplemented in SimpleAssocRuleWriter, DecoderBase< BufferedNormalOutput< StreamRepr > >, and SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >.

Definition at line 21 of file BufferedNormalOutput.hpp.


Constructor & Destructor Documentation

template<class FR = FDRepr>
BufferedNormalOutput< FR >::BufferedNormalOutput const params_t par  )  [inline]
 

Definition at line 23 of file BufferedNormalOutput.hpp.


Member Function Documentation

template<class FR = FDRepr>
static bool DINLINE BufferedNormalOutput< FR >::isDFO  )  [inline, static]
 

Reimplemented from OutputBase< FR >.

Reimplemented in SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >.

Definition at line 27 of file BufferedNormalOutput.hpp.

template<class FR = FDRepr>
void OutputBase< FR >::popAll  )  [inline, inherited]
 

remove all items form the stack

Reimplemented in CacheDFDecoder< FR >, SimpleBufferedDFDecoder< FR >, bracz::NonOptDFOutput< FR >, and NoOutput< ISDFO, FR >.

Definition at line 92 of file OutputBase.hpp.

Referenced by NoOutput< ISDFO, FR >::popAll().

template<class FR = FDRepr>
void OutputBase< FR >::popItem  )  [inline, inherited]
 

Pop an item from the top of the stack.

Reimplemented in CacheDFDecoder< FR >, SimpleBufferedDFDecoder< FR >, bracz::NonOptDFOutput< FR >, NoOutput< ISDFO, FR >, and SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >.

Definition at line 87 of file OutputBase.hpp.

Referenced by NoOutput< ISDFO, FR >::popItem().

template<class FR = FDRepr>
void OutputBase< FR >::pushItem item_t  item  )  [inline, inherited]
 

Push an item to the top of the stack.

Reimplemented in CacheDFDecoder< FR >, SimpleBufferedDFDecoder< FR >, bracz::NonOptDFOutput< FR >, NoOutput< ISDFO, FR >, and SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >.

Definition at line 61 of file OutputBase.hpp.

Referenced by NoOutput< ISDFO, FR >::pushItem().

template<class FR = FDRepr>
void OutputBase< FR >::pushItemWithPrevSupport item_t  item  )  [inline, inherited]
 

Push an item to the top of the stack and write the content of it together with the previously used counter.

Reimplemented in CacheDFDecoder< FR >, SimpleBufferedDFDecoder< FR >, bracz::NonOptDFOutput< FR >, NoOutput< ISDFO, FR >, and SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >.

Definition at line 81 of file OutputBase.hpp.

Referenced by NoOutput< ISDFO, FR >::pushItemWithPrevSupport().

template<class FR = FDRepr>
void OutputBase< FR >::pushItemWithWrite item_t  item,
counter_t  support
[inline, inherited]
 

Push an item to the top of the stack and write the content of it together with a counter.

Reimplemented in CacheDFDecoder< FR >, SimpleBufferedDFDecoder< FR >, bracz::NonOptDFOutput< FR >, NoOutput< ISDFO, FR >, and SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >.

Definition at line 73 of file OutputBase.hpp.

Referenced by NoOutput< ISDFO, FR >::pushItemWithWrite().

template<class FR = FDRepr>
void OutputBase< FR >::write counter_t  support  )  [inline, inherited]
 

write the content of the stack together with a counter

Reimplemented in CacheDFDecoder< FR >, SimpleBufferedDFDecoder< FR >, bracz::NonOptDFOutput< FR >, NoOutput< ISDFO, FR >, and SimpleDFDecoder< BufferedNormalOutput< StreamRepr > >.

Definition at line 67 of file OutputBase.hpp.

Referenced by NoOutput< ISDFO, FR >::write().

template<class FR = FDRepr>
template<typename InputIterator>
void BufferedNormalOutput< FR >::writeItemsetAndCounter InputIterator  first,
InputIterator  last,
counter_t  support
[inline]
 

Reimplemented from OutputBase< FR >.

Definition at line 33 of file BufferedNormalOutput.hpp.


Member Data Documentation

template<class FR = FDRepr>
char* BufferedOutput< FR >::buffer [protected, inherited]
 

The buffer.

Definition at line 47 of file BufferedOutput.hpp.

Referenced by BufferedOutput< StreamRepr >::BufferedOutput(), SimpleBufferedDFDecoder< FR >::pushItem(), CacheDFDecoder< FR >::pushItem(), CacheDFDecoder< FR >::pushItemWithPrevSupport(), SimpleBufferedDFDecoder< FR >::write(), CacheDFDecoder< FR >::write(), CacheNormalDecoder< FR >::writeItemsetAndCounter(), and BufferedOutput< StreamRepr >::~BufferedOutput().

template<class FR = FDRepr>
std::streamsize BufferedOutput< FR >::buffer_size [protected, inherited]
 

The size of the buffer.

Definition at line 45 of file BufferedOutput.hpp.

Referenced by BufferedOutput< StreamRepr >::BufferedOutput(), CacheDecoderBase< FR >::setCodeInverse(), CacheNormalDecoder< FR >::writeItemsetAndCounter(), and BufferedNormalOutput< StreamRepr >::writeItemsetAndCounter().


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