14 #ifndef CONFIGVARIABLEDOUBLE_H 15 #define CONFIGVARIABLEDOUBLE_H 28 const std::string &description = std::string(),
31 const std::string &description = std::string(),
34 INLINE
void operator = (
double value);
35 INLINE
operator double ()
const;
37 INLINE
size_t size()
const;
38 INLINE
double operator [] (
size_t n)
const;
40 INLINE
void set_value(
double value);
41 INLINE
double get_value()
const;
42 INLINE
double get_default_value()
const;
43 MAKE_PROPERTY(value, get_value, set_value);
44 MAKE_PROPERTY(default_value, get_default_value);
46 INLINE
double get_word(
size_t n)
const;
47 INLINE
void set_word(
size_t n,
double value);
50 void set_default_value(
double default_value);
53 AtomicAdjust::Integer _local_modified;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a floating- point type.
This is a generic, untyped ConfigVariable.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.