Panda3D
Public Types | Public Member Functions | List of all members
ConfigFlags Class Reference

This class is the base class of both ConfigVariable and ConfigVariableCore. More...

Inheritance diagram for ConfigFlags:
ConfigDeclaration ConfigPageManager ConfigVariableBase ConfigVariableCore NotifyCategory ConfigVariable ConfigVariableList ConfigVariableSearchPath ConfigVariableBool ConfigVariableColor ConfigVariableDouble ConfigVariableFilename ConfigVariableInt ConfigVariableInt64 ConfigVariableString

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
}
 

Public Member Functions

 __init__ ()
 
 __init__ (const ConfigFlags)
 

Detailed Description

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.

Member Enumeration Documentation

◆ ValueType

enum ValueType
Enumerator
VT_undefined 
VT_list 
VT_string 
VT_filename 
VT_bool 
VT_int 
VT_double 
VT_enum 
VT_search_path 
VT_int64 
VT_color 

◆ 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.

Member Function Documentation

◆ __init__() [1/2]

__init__ ( )

◆ __init__() [2/2]

__init__ ( const  ConfigFlags)