List of all members.
Public Types |
|
typedef Traits::parameter_type | parameter_type |
Public Member Functions |
| | Reader (const char *fileName) |
| size_t | numRecords () const |
| T | getRecord () |
| void | exportCSV (const char *outputFileName) |
| void | exportCSV (std::ostream &os) |
| void | close () |
Protected Attributes |
|
std::ifstream | file |
|
size_t | recordLength |
|
size_t | recordCount |
|
char * | buffer |
template<typename T, typename Traits = Traits<T>>
class barrett::log::Reader< T, Traits >
Constructor & Destructor Documentation
template<typename T , typename Traits >
Constructor and Destructors for Reader.
Member Function Documentation
template<typename T , typename Traits >
close Method destroys file being written to.
template<typename T , typename Traits >
exportCSV method writes binary data to comma separated text file.
template<typename T , typename Traits >
exportCSV method writes binary data to comma separated text file.
template<typename T , typename Traits >
getRecord Method returns the line of the file currently being processed.
template<typename T , typename Traits >
numRecords Method returns the number of lines in the file being processed.
The documentation for this class was generated from the following files: