cfg_var Class Reference
#include <cfg_var.h>
List of all members.
|
Public Member Functions |
| GUID | get_guid () const |
Protected Member Functions |
| | cfg_var (const GUID &p_guid) |
Detailed Description
Base class for configuration variable classes; provides self-registration mechaisms and methods to set/retrieve configuration data; those methods are automatically called for all registered instances by backend when configuration file is being read or written.
Note that
cfg_var class and its derivatives may be only instantiated statically (as static objects or members of other static objects), NEVER dynamically (operator new, local variables, members of objects instantiated as such).
Constructor & Destructor Documentation
| cfg_var::cfg_var |
( |
const GUID & |
p_guid |
) |
[inline, protected] |
- Parameters:
-
| p_guid | GUID of the variable, used to identify variable implementations owning specific configuration file entries when reading the configuration file back. You must generate a new GUID every time you declare a new cfg_var. |
Member Function Documentation
| GUID cfg_var::get_guid |
( |
|
) |
const [inline] |
The documentation for this class was generated from the following file: