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

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

bool parseFile (const std::string &filename, const bool removeNewLineCharacter, const char seperator)
 

Protected Attributes

bool fileParsed
 
bool consistentColumnSize
 
unsigned int columnSize
 
InfoLog infoLog
 
WarningLog warningLog
 
std::deque< Vector< std::string > > fileContents
 

Detailed Description

Definition at line 37 of file FileParser.h.


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