36 typedef std::map < SWBuf, ConfigEntMap, std::less < SWBuf > >
SectionMap;
65 virtual void save()
const;
70 virtual void augment(
const SWConfig &addFrom);
91 ConfigEntMap &operator [](
const char *section) {
return getSection(section); }
103 return (*
this)[section][key];
111 void setValue(
const char *section,
const char *key,
const char *value) {
112 (*this)[section][key] = value;
117 SWBuf getFileName()
const;
#define SWORD_NAMESPACE_START
SWBuf getValue(const char *section, const char *key)
void setValue(const char *section, const char *key, const char *value)
SWDEPRECATED SectionMap Sections
ConfigEntMap & getSection(const char *section)
std::map< SWBuf, ConfigEntMap, std::less< SWBuf > > SectionMap
SWDEPRECATED SWBuf filename
SWORD_NAMESPACE_START typedef multimapwithdefault< SWBuf, SWBuf, std::less< SWBuf > > ConfigEntMap
const SectionMap & getSections() const
#define SWORD_NAMESPACE_END