Public Methods | |
| void | init (const char *fname) |
| void | loadFile () |
| char * | strlwr (const char *) |
| string | getParam (const char *section, const char *key) |
| map< string, string > | getParam (const char *section) |
| string | cleanBlanks (string) |
| int | stringToInt (string s) |
| int | getIntParam (const char *section, const char *key) |
| float | getfloatParam (const char *section, const char *key) |
Private Attributes | |
| string | configFile |
| stores the filename | |
| string | configContent |
| stores its content | |
|
|
Cleans trailing and ..beginning... empty spaces from string s
|
|
||||||||||||
|
Takes a float parameter from an ini file
|
|
||||||||||||
|
Takes an int parameter from an ini file
|
|
|
Gets the first key with its value from section
|
|
||||||||||||
|
Takes a parameter from an ini file
|
|
|
Gets the file name |
|
|
Loads the file to memory |
|
|
Converts a string to int |
|
|
Puts a string to lower chars |
|
|
stores its content
|
|
|
stores the filename
|
1.2.18