|
STK++ 0.9.13
|
Enumerations | |
| enum | TypeDataFile { unknown_ =0 , csv_ } |
| type of the data file we handle. More... | |
Functions | |
| TypeDataFile | stringToTypeDataFile (String const &type) |
| convert a String to a TypeDataFile. | |
| String | TypeDataFileToString (TypeDataFile const &type) |
| convert a TypeDataFile to a String. | |
| bool | checkStringToBoolean (String const &str) |
| check if a string represent a boolean. | |
| bool | StringToBoolean (String const &str) |
| convert a string to a boolean. | |
| void | removeCharBeforeAndAfter (String &str, Char c) |
remove all occurrences of the char c at the beginning and the end of the string str. | |
| istream & | getField (istream &is, String &value, Char delimiter) |
| Get the current field from the input stream. | |
| template<class TYPE > | |
| void | readList (String const &strBuffer, std::list< TYPE > &lst, Char sep=CHAR_SEP) |
Read a list of value of type TYPE stored in a line. | |
| template<class TYPE > | |
| void | writeList (ostream &os, std::list< TYPE > const &lst, Char sep=CHAR_SEP) |
Write a list of value of type TYPE stored in a line. | |
| int | nbEndOfLine (istream &is) |