15 #include "configVariableFilename.h"
16 #include "executionEnvironment.h"
24 void ConfigVariableFilename::
27 mark_cache_valid(_local_modified);
The internal definition of a ConfigVariable.
const string & get_string_value() const
Returns the value assigned to this variable.
string get_dirname() const
Returns the directory part of the filename.
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...
The name of a file, such as a texture file or an Egg file.
A page of ConfigDeclarations that may be loaded or unloaded.
ConfigPage * get_page() const
Returns the page on which this declaration can be found.
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...
const string & get_name() const
Returns the name of the page.
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...