Version: 0.6.0
wxGISAppConfig Class Reference

#include <config.h>

Inheritance diagram for wxGISAppConfig:
Collaboration diagram for wxGISAppConfig:

Public Member Functions

 wxGISAppConfig (bool bPortable)
 
wxString GetLocale (void)
 
wxString GetLocaleDir (void)
 
wxString GetSysDir (void)
 
wxString GetTempDir (void)
 
wxString GetLogDir (void)
 
bool GetDebugMode (void)
 
void SetLocale (const wxString &sLocale)
 
void SetLocaleDir (const wxString &sLocaleDir)
 
void SetSysDir (const wxString &sSysDir)
 
void SetLogDir (const wxString &sLogDir)
 
void SetDebugMode (bool bDebug)
 
- Public Member Functions inherited from wxGISConfig
 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)
 

Additional Inherited Members

- Static Public Member Functions inherited from wxGISConfig
static void DeleteNodeChildren (wxXmlNode *pNode)
 
- Protected Member Functions inherited from wxGISConfig
bool SplitPathToXml (const wxString &fullpath, wxString *psFileName, wxString *psPathInXml)
 
bool SplitPathToAttribute (const wxString &fullpath, wxString *psPathToAttribute, wxString *psAttributeName)
 
wxXmlNode * GetConfigRootNode (wxGISEnumConfigKey Key, const wxString &sFileName) const
 
virtual wxObjectRefData * CreateRefData () const
 
virtual wxObjectRefData * CloneRefData (const wxObjectRefData *data) const
 

Detailed Description

The extended config class. Added methods for Get/Set Locale, System Directory and Log Directory paths, Debug mode

Library:  wxGISCore

The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/wxgis/core/config.h
  • /home/bishop/work/projects/nextgismanager/src/core/config.cpp