#include <config.h>
Public Member Functions | |
wxGISConfig (bool bPortable) | |
void | Create (bool bPortable=false) |
void | ReportPaths (void) |
bool | IsOk () const |
bool | operator== (const wxGISConfig &obj) const |
bool | operator!= (const wxGISConfig &obj) const |
wxString | Read (wxGISEnumConfigKey Key, const wxString &sPath, const wxString &sDefaultValue) |
int | ReadInt (wxGISEnumConfigKey Key, const wxString &sPath, int nDefaultValue) |
double | ReadDouble (wxGISEnumConfigKey Key, const wxString &sPath, double dDefaultValue) |
bool | ReadBool (wxGISEnumConfigKey Key, const wxString &sPath, bool bDefaultValue) |
bool | Write (wxGISEnumConfigKey Key, const wxString &sPath, const wxString &sValue) |
bool | Write (wxGISEnumConfigKey Key, const wxString &sPath, bool bValue) |
bool | Write (wxGISEnumConfigKey Key, const wxString &sPath, int nValue) |
wxXmlNode * | GetConfigNode (wxGISEnumConfigKey Key, const wxString &sPath) |
wxXmlNode * | CreateConfigNode (wxGISEnumConfigKey Key, const wxString &sPath) |
wxString | GetLocalConfigDir (void) const |
wxString | GetGlobalConfigDir (void) const |
wxString | GetLocalConfigDirNonPortable (void) const |
void | Save (const wxGISEnumConfigKey Key=enumGISHKAny) |
Static Public Member Functions | |
static void | DeleteNodeChildren (wxXmlNode *pNode) |
The config main class. This is the wrapper around xml config files. wxGISConfig cached all opened xml config files for speed. All changes are stored to appropriate files before wxGISConfig class destructs on program exit.