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

LBufferedTransactionReader< T_R > Class Template Reference

#include <LBufferedTransactionReader.hpp>

Inheritance diagram for LBufferedTransactionReader< T_R >:

Inheritance graph
[legend]
Collaboration diagram for LBufferedTransactionReader< T_R >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef BufferedTransactionReader<
T_R >::params_t 
params_t

Public Member Functions

 LBufferedTransactionReader (const params_t *par)
template<class BIS>
counter_t nextTransactionBIS (BIS &transaction)
 see: TransactionReader::nextTransactionBIS
template<class UAC>
counter_t nextTransactionUAC (UAC &transaction)
 see: TransactionReader::nextTransactionUAC
void rewind ()
 see: TransactionReader::rewind

Protected Attributes

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

Private Types

typedef BufferedTransactionReader<
T_R > 
PARENT

Private Member Functions

bool DINLINE getNextItem (int &item, char &c)
 see: SimpleTransactionReader::getNextItem

Private Attributes

std::streamsize bufPosition
 The position of the next char to process.
std::streamsize bufLength
 The number chars that were succesfully read from the file to the buffer.

Detailed Description

template<class T_R = TransactionReader<>>
class LBufferedTransactionReader< T_R >

Author:
Lars Schmidt-Thieme simplified and embedded by Ferenc Bodon

Definition at line 12 of file LBufferedTransactionReader.hpp.


Member Typedef Documentation

template<class T_R = TransactionReader<>>
typedef BufferedTransactionReader<T_R>::params_t LBufferedTransactionReader< T_R >::params_t
 

Definition at line 17 of file LBufferedTransactionReader.hpp.

template<class T_R = TransactionReader<>>
typedef BufferedTransactionReader<T_R> LBufferedTransactionReader< T_R >::PARENT [private]
 

Definition at line 15 of file LBufferedTransactionReader.hpp.


Constructor & Destructor Documentation

template<class T_R = TransactionReader<>>
LBufferedTransactionReader< T_R >::LBufferedTransactionReader const params_t par  )  [inline]
 

Definition at line 18 of file LBufferedTransactionReader.hpp.

References BufferedTransactionReader< T_R >::buffer, BufferedTransactionReader< T_R >::buffer_size, LBufferedTransactionReader< T_R >::bufLength, and LBufferedTransactionReader< T_R >::bufPosition.


Member Function Documentation

template<class T_R = TransactionReader<>>
bool DINLINE LBufferedTransactionReader< T_R >::getNextItem int &  item,
char &  c
[inline, private]
 

see: SimpleTransactionReader::getNextItem

Definition at line 49 of file LBufferedTransactionReader.hpp.

References BufferedTransactionReader< T_R >::buffer, BufferedTransactionReader< T_R >::buffer_size, LBufferedTransactionReader< T_R >::bufLength, and LBufferedTransactionReader< T_R >::bufPosition.

Referenced by LBufferedTransactionReader< T_R >::nextTransactionBIS(), and LBufferedTransactionReader< T_R >::nextTransactionUAC().

template<class T_R>
template<class BIS>
counter_t LBufferedTransactionReader< T_R >::nextTransactionBIS BIS &  transaction  )  [inline]
 

see: TransactionReader::nextTransactionBIS

Definition at line 78 of file LBufferedTransactionReader.hpp.

References LBufferedTransactionReader< T_R >::bufLength, and LBufferedTransactionReader< T_R >::getNextItem().

template<class T_R>
template<class UAC>
counter_t LBufferedTransactionReader< T_R >::nextTransactionUAC UAC &  transaction  )  [inline]
 

see: TransactionReader::nextTransactionUAC

Definition at line 95 of file LBufferedTransactionReader.hpp.

References LBufferedTransactionReader< T_R >::bufLength, and LBufferedTransactionReader< T_R >::getNextItem().

template<class T_R = TransactionReader<>>
void LBufferedTransactionReader< T_R >::rewind  )  [inline]
 

see: TransactionReader::rewind

Definition at line 32 of file LBufferedTransactionReader.hpp.

References BufferedTransactionReader< T_R >::buffer, BufferedTransactionReader< T_R >::buffer_size, LBufferedTransactionReader< T_R >::bufLength, and LBufferedTransactionReader< T_R >::bufPosition.


Member Data Documentation

template<class T_R = TransactionReader<>>
char* BufferedTransactionReader< T_R >::buffer [protected, inherited]
 

The buffer.

Definition at line 46 of file BufferedTransactionReader.hpp.

Referenced by BufferedTransactionReader< T_R >::BufferedTransactionReader(), LBufferedTransactionReader< T_R >::getNextItem(), LBufferedTransactionReader< T_R >::LBufferedTransactionReader(), brBufferedTransactionReader< T_R >::nextChar(), LBufferedTransactionReader< T_R >::rewind(), brBufferedTransactionReader< T_R >::rewind(), and BufferedTransactionReader< T_R >::~BufferedTransactionReader().

template<class T_R = TransactionReader<>>
std::streamsize BufferedTransactionReader< T_R >::buffer_size [protected, inherited]
 

The size of the buffer.

Definition at line 44 of file BufferedTransactionReader.hpp.

Referenced by BufferedTransactionReader< T_R >::BufferedTransactionReader(), LBufferedTransactionReader< T_R >::getNextItem(), LBufferedTransactionReader< T_R >::LBufferedTransactionReader(), and LBufferedTransactionReader< T_R >::rewind().

template<class T_R = TransactionReader<>>
std::streamsize LBufferedTransactionReader< T_R >::bufLength [private]
 

The number chars that were succesfully read from the file to the buffer.

Definition at line 44 of file LBufferedTransactionReader.hpp.

Referenced by LBufferedTransactionReader< T_R >::getNextItem(), LBufferedTransactionReader< T_R >::LBufferedTransactionReader(), LBufferedTransactionReader< T_R >::nextTransactionBIS(), LBufferedTransactionReader< T_R >::nextTransactionUAC(), and LBufferedTransactionReader< T_R >::rewind().

template<class T_R = TransactionReader<>>
std::streamsize LBufferedTransactionReader< T_R >::bufPosition [private]
 

The position of the next char to process.

Definition at line 42 of file LBufferedTransactionReader.hpp.

Referenced by LBufferedTransactionReader< T_R >::getNextItem(), LBufferedTransactionReader< T_R >::LBufferedTransactionReader(), and LBufferedTransactionReader< T_R >::rewind().


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