15 #include "configVariableFilename.h" 16 #include "executionEnvironment.h" 24 void ConfigVariableFilename::
34 if (!is_cache_valid(_local_modified)) {
47 mark_cache_valid(_local_modified);
string get_dirname() const
Returns the directory part of the filename.
The internal definition of a ConfigVariable.
static Filename expand_from(const string &user_string, Type type=T_general)
Returns the same thing as from_os_specific(), but embedded environment variable references (e...
const string & get_name() const
Returns the name of the page.
The name of a file, such as a texture file or an Egg file.
ConfigPage * get_page() const
Returns the page on which this declaration can be found.
A page of ConfigDeclarations that may be loaded or unloaded.
static void clear_shadow(const string &var)
Removes a value set by a previous call to shadow_environment_variable(), and lets the actual value of...
A fake mutex implementation for single-threaded applications that don't need any synchronization cont...
A single declaration of a config variable, typically defined as one line in a .prc file...
static void shadow_environment_variable(const string &var, const string &value)
Changes the apparent definition of the indicated environment variable by masking it within this class...
const string & get_string_value() const
Returns the value assigned to this variable.