28 #ifndef __ConfigFile_H__
29 #define __ConfigFile_H__
68 void load(
const String& filename,
const String& separators =
"\t:=",
bool trimWhitespace =
true);
70 void load(
const String& filename,
const String& resourceGroup,
const String& separators =
"\t:=",
bool trimWhitespace =
true);
72 void load(
const DataStreamPtr& stream,
const String& separators =
"\t:=",
bool trimWhitespace =
true);
74 void loadDirect(
const String& filename,
const String& separators =
"\t:=",
bool trimWhitespace =
true);
76 void loadFromResourceSystem(
const String& filename,
const String& resourceGroup,
const String& separators =
"\t:=",
bool trimWhitespace =
true);
map< String, SettingsMultiMap * >::type SettingsBySection
Gets an iterator for stepping through all the keys / values in the file.
Class for quickly loading settings from a text file.
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
MapIterator< SettingsMultiMap > SettingsIterator
SettingsBySection mSettings
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
vector< String >::type StringVector
MapIterator< SettingsBySection > SectionIterator
multimap< String, String >::type SettingsMultiMap
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.