#include <OgreConfigFile.h>
Inheritance diagram for Ogre::ConfigFile:
Public Types | |
typedef std::multimap< String, String > | SettingsMultiMap |
typedef MapIterator< SettingsMultiMap > | SettingsIterator |
typedef std::map< String, SettingsMultiMap * > | SettingsBySection |
Gets an iterator for stepping through all the keys / values in the file. | |
typedef MapIterator< SettingsBySection > | SectionIterator |
Public Member Functions | |
ConfigFile () | |
virtual | ~ConfigFile () |
void | load (const String &filename, const String &separators="\t:=", bool trimWhitespace=true) |
load from a filename (not using resource group locations) | |
void | load (const String &filename, const String &resourceGroup, const String &separators="\t:=", bool trimWhitespace=true) |
load from a filename (using resource group locations) | |
void | load (const DataStreamPtr &stream, const String &separators="\t:=", bool trimWhitespace=true) |
load from a data stream | |
void | loadDirect (const String &filename, const String &separators="\t:=", bool trimWhitespace=true) |
load from a filename (not using resource group locations) | |
void | loadFromResourceSystem (const String &filename, const String &resourceGroup, const String &separators="\t:=", bool trimWhitespace=true) |
load from a filename (using resource group locations) | |
String | getSetting (const String &key, const String §ion=StringUtil::BLANK, const String &defaultValue=StringUtil::BLANK) const |
Gets the first setting from the file with the named key. | |
StringVector | getMultiSetting (const String &key, const String §ion=StringUtil::BLANK) const |
Gets all settings from the file with the named key. | |
SectionIterator | getSectionIterator (void) |
Get an iterator over all the available sections in the config file. | |
SettingsIterator | getSettingsIterator (const String §ion=StringUtil::BLANK) |
Get an iterator over all the available settings in a section. | |
void | clear (void) |
Clear the settings. | |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void * | operator new[] (size_t sz) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
Protected Attributes | |
SettingsBySection | mSettings |
Definition at line 56 of file OgreConfigFile.h.
|
Definition at line 86 of file OgreConfigFile.h. |
|
Gets an iterator for stepping through all the keys / values in the file.
Definition at line 85 of file OgreConfigFile.h. |
|
Definition at line 83 of file OgreConfigFile.h. |
|
Definition at line 82 of file OgreConfigFile.h. |
|
|
|
|
|
Clear the settings.
|
|
Gets all settings from the file with the named key.
|
|
Get an iterator over all the available sections in the config file.
|
|
Gets the first setting from the file with the named key.
|
|
Get an iterator over all the available settings in a section.
|
|
load from a data stream
|
|
load from a filename (using resource group locations)
|
|
load from a filename (not using resource group locations)
|
|
load from a filename (not using resource group locations)
|
|
load from a filename (using resource group locations)
|
|
Definition at line 101 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 95 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 89 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 112 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 106 of file OgreMemoryAllocatedObject.h. |
|
placement operator new
Definition at line 73 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 67 of file OgreMemoryAllocatedObject.h. |
|
operator new, with debug line info
Definition at line 62 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 84 of file OgreMemoryAllocatedObject.h. |
|
array operator new, with debug line info
Definition at line 79 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 97 of file OgreConfigFile.h. |
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 11 13:47:29 2009