#include <cfgacc.h>
Public Methods | |
csConfigAccess () | |
constructor. | |
csConfigAccess (iObjectRegistry *object_reg, const char *Filename, bool vfs=true, int Priority=iConfigManager::ConfigPriorityPlugin) | |
constructor (also adds a config file). | |
~csConfigAccess () | |
destructor. | |
void | AddConfig (iObjectRegistry *object_reg, const char *Filename, bool vfs=true, int Priority=iConfigManager::ConfigPriorityPlugin) |
add a config file. | |
iConfigFile* | operator-> () |
access to system configuration. | |
operator iConfigFile * () | |
access to system configuration. |
It adds config files to the manager on demand and automatically removes them when destroyed. In addition, you can use the '->' operator to access the system configuration. Note that you must use the same iObjectRegistry for all config files you add.