14 #ifndef CONFIGVARIABLEBASE_H 15 #define CONFIGVARIABLEBASE_H 29 #ifdef PRC_SAVE_DESCRIPTIONS 30 #define PRC_DESC(description) description 32 #define PRC_DESC(description) "" 49 const std::string &description,
int flags);
53 INLINE
const std::string &get_name()
const;
55 INLINE ValueType get_value_type()
const;
56 INLINE
const std::string &get_description()
const;
57 INLINE
int get_flags()
const;
58 INLINE
bool is_closed()
const;
59 INLINE
int get_trust_level()
const;
60 INLINE
bool is_dynamic()
const;
62 MAKE_PROPERTY(name, get_name);
63 MAKE_PROPERTY(value_type, get_value_type);
64 MAKE_PROPERTY(description, get_description);
65 MAKE_PROPERTY(closed, is_closed);
66 MAKE_PROPERTY(trust_level, get_trust_level);
67 MAKE_PROPERTY(dynamic, is_dynamic);
69 INLINE
bool clear_local_value();
70 INLINE
bool has_local_value()
const;
71 INLINE
bool has_value()
const;
73 INLINE
void output(std::ostream &out)
const;
74 INLINE
void write(std::ostream &out)
const;
77 void record_unconstructed()
const;
78 bool was_unconstructed()
const;
86 INLINE std::ostream &operator << (std::ostream &out,
const ConfigVariableBase &variable);
The internal definition of a ConfigVariable.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class is the base class of both ConfigVariable and ConfigVariableCore.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...