14 #ifndef CONFIGPAGEMANAGER_H 15 #define CONFIGPAGEMANAGER_H 37 INLINE
bool loaded_implicit_pages()
const;
38 INLINE
void load_implicit_pages();
39 void reload_implicit_pages();
43 INLINE
size_t get_num_prc_patterns()
const;
44 INLINE std::string get_prc_pattern(
size_t n)
const;
46 INLINE
size_t get_num_prc_encrypted_patterns()
const;
47 INLINE std::string get_prc_encrypted_pattern(
size_t n)
const;
49 INLINE
size_t get_num_prc_executable_patterns()
const;
50 INLINE std::string get_prc_executable_pattern(
size_t n)
const;
52 ConfigPage *make_explicit_page(
const std::string &name);
55 INLINE
size_t get_num_implicit_pages()
const;
56 INLINE
ConfigPage *get_implicit_page(
size_t n)
const;
58 INLINE
size_t get_num_explicit_pages()
const;
59 INLINE
ConfigPage *get_explicit_page(
size_t n)
const;
61 void output(std::ostream &out)
const;
62 void write(std::ostream &out)
const;
67 INLINE
void mark_unsorted();
70 INLINE
void check_sort_pages()
const;
73 bool scan_auto_prc_dir(
Filename &prc_dir)
const;
77 void config_initialized();
79 typedef std::vector<ConfigPage *> Pages;
80 Pages _implicit_pages;
81 Pages _explicit_pages;
85 bool _loaded_implicit;
86 bool _currently_loading;
90 typedef std::vector<GlobPattern> Globs;
92 Globs _prc_encrypted_patterns;
93 Globs _prc_executable_patterns;
108 typedef std::vector<ConfigFile> ConfigFiles;
113 INLINE std::ostream &operator << (std::ostream &out,
const ConfigPageManager &pageMgr);
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.
A global object that maintains the set of ConfigPages everywhere in the world, and keeps them in sort...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The name of a file, such as a texture file or an Egg file.
A page of ConfigDeclarations that may be loaded or unloaded.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class stores a list of directories that can be searched, in order, to locate a particular file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.