GestureRecognitionToolkit  Version: 1.0 Revision: 04-03-15
The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, c++ machine learning library for real-time gesture recognition.
GRT::FileParser Class Reference

Public Member Functions

vector< string > & operator[] (const unsigned int &index)
 
bool parseCSVFile (string filename, bool removeNewLineCharacter=true)
 
bool parseTSVFile (string filename, bool removeNewLineCharacter=true)
 
bool getFileParsed ()
 
bool getConsistentColumnSize ()
 
unsigned int getRowSize ()
 
unsigned int getColumnSize ()
 
vector< vector< string > > getFileContents ()
 
bool clear ()
 

Static Public Member Functions

static bool parseColumn (const string &row, vector< string > &cols, const char seperator= ',')
 

Protected Member Functions

bool parseFile (string filename, bool removeNewLineCharacter, const char seperator)
 

Protected Attributes

bool fileParsed
 
bool consistentColumnSize
 
unsigned int columnSize
 
WarningLog warningLog
 
vector< vector< string > > fileContents
 

Detailed Description

Definition at line 37 of file FileParser.h.


The documentation for this class was generated from the following file: