#include <TransactionReader.hpp>
Inheritance diagram for TransactionReader< FR >:
Public Member Functions | ||||
TransactionReader (const params_t *par) throw (std::ios_base::failure) | ||||
| ||||
template<class BIS> | ||||
counter_t | nextTransactionBIS (BIS &transaction) | |||
Reads in one transaction from the file and writes it to a class whose type is given by the template. | ||||
template<class UAC> | ||||
counter_t | nextTransactionUAC (UAC &transaction) | |||
Reads in one transaction from the file and writes it to a class whose type is given by the template. | ||||
void | setLargestItem (item_t largest_item) | |||
It is possible to associate the largerst item in the transaction file with the transaction reader. | ||||
item_t | getLargestItem () const | |||
It returns the largest item. | ||||
Protected Attributes | ||||
item_t | largest_item | |||
Classes | ||||
class | params_t |
Definition at line 19 of file TransactionReader.hpp.
|
Definition at line 38 of file TransactionReader.hpp. |
|
It returns the largest item.
Definition at line 123 of file TransactionReader.hpp. |
|
Reads in one transaction from the file and writes it to a class whose type is given by the template.
push_back stl::vector<item_t> or any stl::Back Insertion Sequencce template class is applicable. An other restriction is that the template class must have a clear
transaction will always be overwritten. For this the functionclear() Reimplemented in SimpleTransactionReader. Definition at line 69 of file TransactionReader.hpp. |
|
Reads in one transaction from the file and writes it to a class whose type is given by the template.
insert stl::set<item_t> or any stl::Unique Associative Container template class is applicable. An other restriction is that the template class must have a clear
transaction will always be overwritten. For this the functionclear() Reimplemented in SimpleTransactionReader. Definition at line 100 of file TransactionReader.hpp. |
|
It is possible to associate the largerst item in the transaction file with the transaction reader. This method is just for the sake of the convenience (to avoid many parameter passing) Definition at line 113 of file TransactionReader.hpp. |
|
Definition at line 127 of file TransactionReader.hpp. Referenced by TransactionReader< StreamRepr >::getLargestItem(). |