|
Eidolon
|
#include <RenderTypes.h>

Public Member Functions | |
| Config () | |
| void | set (const char *group, const char *name, const char *value) |
| void | set (const char *name, const char *value) |
| bool | hasValue (const char *group, const char *name) const |
| bool | hasValue (const char *name) const |
| const char * | get (const char *group, const char *name) |
| const char * | get (const char *name) |
| std::string | toString () |
Protected Types | |
| typedef std::pair< std::string, std::string > | strpair |
| typedef std::map< strpair, std::string > | configmap |
Protected Attributes | |
| configmap | map |
Private Member Functions | |
| strpair | getPair (const char *group, const char *name) const |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const Config *c) |
Stores configuration values derived from arguments and config files. Values are always stored as strings keyed to (group,name) pairs, where group is the category the value is a member of. Categories may include anything depending on context, `platformID' is the group for per-platform config values with "All" containing default values for all platforms. Other groups include "args" for command line arguments, "vars" for variable specified on the command line, and `RenderParamGroup' containing values for initializing the renderer. Group and name values are NOT case sensitive.
|
protected |
|
inline |
|
inline |
|
inline |
|
inlineprivate |

|
inline |
|
inline |


|
inline |
|
inline |
|
inline |
|
friend |
|
protected |
1.8.13