14 #ifndef CONFIGVARIABLEFILENAME_H 15 #define CONFIGVARIABLEFILENAME_H 31 const std::string &description = std::string(),
int flags = 0);
33 INLINE
void operator = (
const Filename &value);
34 INLINE
operator const Filename &()
const;
37 INLINE
const char *c_str()
const;
38 INLINE
bool empty()
const;
39 INLINE
size_t length()
const;
40 INLINE
char operator [] (
size_t n)
const;
42 INLINE std::string get_fullpath()
const;
43 INLINE std::string get_dirname()
const;
44 INLINE std::string get_basename()
const;
45 INLINE std::string get_fullpath_wo_extension()
const;
46 INLINE std::string get_basename_wo_extension()
const;
47 INLINE std::string get_extension()
const;
50 INLINE
bool operator == (
const Filename &other)
const;
51 INLINE
bool operator != (
const Filename &other)
const;
52 INLINE
bool operator < (
const Filename &other)
const;
54 INLINE
void set_value(
const Filename &value);
56 INLINE
Filename get_default_value()
const;
57 MAKE_PROPERTY(value, get_value, set_value);
58 MAKE_PROPERTY(default_value, get_default_value);
60 INLINE
Filename get_word(
size_t n)
const;
61 INLINE
void set_word(
size_t n,
const Filename &value);
65 INLINE
const Filename &get_ref_value()
const;
68 AtomicAdjust::Integer _local_modified;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a Filename type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a generic, untyped ConfigVariable.
The name of a file, such as a texture file or an Egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.