Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs | Enumerations
ConfigDB.h File Reference
#include "Parser.h"
#include "CStr.h"
#include "Singleton.h"
#include "lib/file/vfs/vfs_path.h"

Go to the source code of this file.

Classes

class  CConfigDB
 

Macros

#define g_ConfigDB   CConfigDB::GetSingleton()
 
#define CFG_GET_VAL(name, type, destination)
 

Typedefs

typedef CParserValue CConfigValue
 
typedef std::vector< CParserValueCConfigValueSet
 

Enumerations

enum  EConfigNamespace {
  CFG_DEFAULT, CFG_SYSTEM, CFG_MOD, CFG_USER,
  CFG_COMMAND, CFG_LAST
}
 

Macro Definition Documentation

#define CFG_GET_VAL (   name,
  type,
  destination 
)
Value:
CConfigValue* val = g_ConfigDB.GetValue(CFG_USER, name);\
if(val)\
val->Get##type(destination);\
)
#define g_ConfigDB
Definition: ConfigDB.h:52
#define STMT(STMT_code__)
package code into a single statement.

Definition at line 147 of file ConfigDB.h.

#define g_ConfigDB   CConfigDB::GetSingleton()

Definition at line 52 of file ConfigDB.h.

Typedef Documentation

Definition at line 49 of file ConfigDB.h.

typedef std::vector<CParserValue> CConfigValueSet

Definition at line 50 of file ConfigDB.h.

Enumeration Type Documentation

Enumerator
CFG_DEFAULT 
CFG_SYSTEM 
CFG_MOD 
CFG_USER 
CFG_COMMAND 
CFG_LAST 

Definition at line 39 of file ConfigDB.h.