#include <ConfigLoader.h>
Public Member Functions | |
| ConfigLoader (string) | |
| ~ConfigLoader () | |
| const char * | getCharData (string) |
| string | getStringData (string) |
Private Member Functions | |
| ConfigLoader (const ConfigLoader &) | |
| ConfigLoader | operator= (const ConfigLoader &) |
| void | printConfig () |
Private Attributes | |
| map< string, string > | configMap |
Definition at line 38 of file ConfigLoader.h.
|
|
Constructor loads up the configuration data from the given file path. Definition at line 28 of file ConfigLoader.cpp. References configMap. |
|
|
Destructor. Definition at line 70 of file ConfigLoader.cpp. |
|
|
Declare copy constructor private so it cannot be used inadvertently. |
|
|
Extracts the configuration parameter as a cstring. Definition at line 82 of file ConfigLoader.cpp. References configMap. |
|
|
Extracts the configuration parameter as a string. Definition at line 93 of file ConfigLoader.cpp. References configMap. |
|
|
Declare assignment private so it cannot be used inadvertently. |
|
|
Debug method for printing out the loaded configuration parameters. Definition at line 108 of file ConfigLoader.cpp. References configMap. |
|
|
Holds the configuration parameters loaded from the file. Definition at line 50 of file ConfigLoader.h. Referenced by ConfigLoader(), getCharData(), getStringData(), and printConfig(). |
1.4.4