TRN data format filter. More...
#include <data_file_TRN.hpp>
Public Member Functions | |
void | open (const string &filename) |
opens TRN file and reads header | |
void | close () |
const unsigned int | getNoOfFeatures () const |
closes TRN file if it is open | |
const unsigned int | getNoOfClasses () const |
const IDXTYPE | getClassSize (const unsigned int cidx) const |
bool | read_val (DATATYPE &target) |
DATATYPE | read_val () |
Protected Member Functions | |
void | GetFileParams () |
Protected Attributes | |
string | _filename |
string | _title |
unsigned int | _pocpriz |
unsigned int | _poctrid |
std::vector< IDXTYPE > | _pocprv |
IDXTYPE | _datastart |
int | _valid |
indicates the state, when header is successfully read and file open and ready to be read for actual data. | |
FILE * | dov |
Private Member Functions | |
Data_File_TRN (const Data_File_TRN &) |
TRN data format filter.