Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csConfigAccess Class Reference

This is a simple convenience class that can be used to deal with the sytem config manager. More...

#include <cfgacc.h>

List of all members.

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.

iConfigFileoperator-> ()
 access to system configuration.

 operator iConfigFile * ()
 access to system configuration.


Detailed Description

This is a simple convenience class that can be used to deal with the sytem config manager.

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.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000