20 void ConfigVariableSearchPath::
21 reload_search_path() {
22 nassertv(_core !=
nullptr);
23 mark_cache_valid(_local_modified);
27 size_t num_unique_references = _core->get_num_unique_references();
28 for (
size_t i = 0; i < num_unique_references; i++) {
38 num_unique_references == 0) {
40 _cache = _default_value;
void clear()
Removes all the directories from the search list.
bool is_empty() const
Returns true if the search list is empty, false otherwise.
void append_directory(const Filename &directory)
Adds a new directory to the end of the search list.
Filename get_filename_value() const
Interprets the string value as a filename and returns it, with any variables expanded.
The name of a file, such as a texture file or an Egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void append_path(const std::string &path, const std::string &separator=std::string())
Adds all of the directories listed in the search path to the end of the search list.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A single declaration of a config variable, typically defined as one line in a .prc file,...