14 #ifndef CONFIGVARIABLESTRING_H 15 #define CONFIGVARIABLESTRING_H 27 const std::string &description = std::string(),
int flags = 0);
29 INLINE
void operator = (
const std::string &value);
30 INLINE
operator const std::string & ()
const;
33 INLINE
const char *c_str()
const;
34 INLINE
bool empty()
const;
35 INLINE
size_t length()
const;
36 INLINE
char operator [] (
size_t n)
const;
39 INLINE
bool operator == (
const std::string &other)
const;
40 INLINE
bool operator != (
const std::string &other)
const;
41 INLINE
bool operator < (
const std::string &other)
const;
43 INLINE
void set_value(
const std::string &value);
44 INLINE
const std::string &get_value()
const;
45 INLINE std::string get_default_value()
const;
46 MAKE_PROPERTY(value, get_value, set_value);
47 MAKE_PROPERTY(default_value, get_default_value);
49 INLINE std::string get_word(
size_t n)
const;
50 INLINE
void set_word(
size_t n,
const std::string &value);
56 AtomicAdjust::Integer _local_modified;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a generic, untyped ConfigVariable.
This is a convenience class to specialize ConfigVariable as a string type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.