14 #ifndef CONFIGVARIABLEBOOL_H 15 #define CONFIGVARIABLEBOOL_H 27 const std::string &description = std::string(),
int flags = 0);
29 const std::string &description = std::string(),
int flags = 0);
31 INLINE
void operator = (
bool value);
32 ALWAYS_INLINE
operator bool ()
const;
34 INLINE
size_t size()
const;
35 INLINE
bool operator [] (
size_t n)
const;
37 INLINE
void set_value(
bool value);
38 ALWAYS_INLINE
bool get_value()
const;
39 INLINE
bool get_default_value()
const;
40 MAKE_PROPERTY(value, get_value, set_value);
41 MAKE_PROPERTY(default_value, get_default_value);
43 INLINE
bool get_word(
size_t n)
const;
44 INLINE
void set_word(
size_t n,
bool value);
47 void reload_value()
const;
49 mutable AtomicAdjust::Integer _local_modified;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a boolean type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a generic, untyped ConfigVariable.