Panda3D
|
This class is the base class of both ConfigVariable and ConfigVariableCore. It exists only to provide a convenient name scoping for some enumerated values common to both classes. More...
Public Types | |
enum | ValueType { VT_undefined = 0, VT_list = 1, VT_string = 2, VT_filename = 3, VT_bool = 4, VT_int = 5, VT_double = 6, VT_enum = 7, VT_search_path = 8, VT_int64 = 9, VT_color = 10 } |
enum | VariableFlags { F_trust_level_mask = 4095, F_open = 4096, F_closed = 8192, F_dynamic = 16384, F_dconfig = 32768 } |
This class is the base class of both ConfigVariable and ConfigVariableCore. It exists only to provide a convenient name scoping for some enumerated values common to both classes.
enum ValueType |
enum VariableFlags |
Enumerator | |
---|---|
F_trust_level_mask | Trust level. We have the bottom twelve bits reserved for a trust level indicator; then the open and closed bits are a special case. |
F_open | |
F_closed | |
F_dynamic | F_dynamic means that the variable name is generated dynamically (possibly from a very large pool) and should not be included in the normal list of variable names. |
F_dconfig | F_dconfig means that the variable was constructed from the legacy DConfig system, rather than directly by the user. You shouldn't pass this in directly. |