15 #ifndef CONFIGVARIABLEBASE_H 16 #define CONFIGVARIABLEBASE_H 18 #include "dtoolbase.h" 19 #include "configFlags.h" 20 #include "configVariableCore.h" 21 #include "configDeclaration.h" 22 #include "configVariableManager.h" 23 #include "vector_string.h" 30 #ifdef PRC_SAVE_DESCRIPTIONS 31 #define PRC_DESC(description) description 33 #define PRC_DESC(description) "" 51 ConfigVariableBase(
const string &name, ValueType type,
52 const string &description,
int flags);
53 INLINE ~ConfigVariableBase();
56 INLINE
const string &get_name()
const;
58 INLINE ValueType get_value_type()
const;
59 INLINE
const string &get_description()
const;
60 INLINE
int get_flags()
const;
61 INLINE
bool is_closed()
const;
62 INLINE
int get_trust_level()
const;
63 INLINE
bool is_dynamic()
const;
65 INLINE
bool clear_local_value();
66 INLINE
bool has_local_value()
const;
67 INLINE
bool has_value()
const;
69 INLINE
void output(ostream &out)
const;
70 INLINE
void write(ostream &out)
const;
73 void record_unconstructed()
const;
74 bool was_unconstructed()
const;
79 static Unconstructed *_unconstructed;
84 #include "configVariableBase.I" The internal definition of a ConfigVariable.
This class is the base class of both ConfigVariable and ConfigVariableCore.
This is our own Panda specialization on the default STL set.
This class is the base class for both ConfigVariableList and ConfigVariable (and hence for all of the...