Public Member Functions | |
ColumnTextParser (std::string CommentLineSymbol="", std::string Delimiter=" \t\r\n") | |
~ColumnTextParser () | |
std::string | getValue (unsigned int Line, unsigned int Column) |
bool | getLongValue (unsigned int Line, unsigned int Column, long *Value) |
bool | getDoubleValue (unsigned int Line, unsigned int Column, double *Value) |
std::vector< std::string > | getValues (unsigned int Line) |
openfluid::tools::ColumnTextParser::ColumnTextParser | ( | std::string | CommentLineSymbol = "" , |
|
std::string | Delimiter = " \t\r\n" | |||
) |
Constructor
openfluid::tools::ColumnTextParser::~ColumnTextParser | ( | ) |
Destructor
bool openfluid::tools::ColumnTextParser::getDoubleValue | ( | unsigned int | Line, | |
unsigned int | Column, | |||
double * | Value | |||
) |
Returns the value at a specified row-column, as a double
bool openfluid::tools::ColumnTextParser::getLongValue | ( | unsigned int | Line, | |
unsigned int | Column, | |||
long * | Value | |||
) |
Returns the value at a specified row-column, as an int
std::string openfluid::tools::ColumnTextParser::getValue | ( | unsigned int | Line, | |
unsigned int | Column | |||
) |
Returns the value at a specified row-column, as a string
std::vector<std::string> openfluid::tools::ColumnTextParser::getValues | ( | unsigned int | Line | ) |
Returns the values of a line as astring list