Contains the application configuration and loads it.
More...
#include <ConfigurationManager.hpp>
Contains the application configuration and loads it.
◆ ConfigurationManager()
st::ConfigurationManager::ConfigurationManager |
( |
const string & |
path | ) |
|
Creates a configuration manager.
- Parameters
-
path | Path to the root file folder. |
◆ getDefaultShaders()
vector< shared_ptr < Shader > > st::ConfigurationManager::getDefaultShaders |
( |
| ) |
|
|
inline |
Returns a vector with the configured shader templates.
◆ getEditor()
string st::ConfigurationManager::getEditor |
( |
| ) |
|
|
inline |
Returns the path to the configured text editor.
◆ load_config()
bool st::ConfigurationManager::load_config |
( |
const string & |
config_file_path | ) |
|
|
private |
Loads the config xml and stars the parsing.
◆ parse_config()
Parses root node of the configuration.
◆ parse_shaders()
◆ config_path
const string st::ConfigurationManager::config_path |
◆ data_path
const string st::ConfigurationManager::data_path |
◆ def_shaders_path
const string st::ConfigurationManager::def_shaders_path |
◆ default_shaders
vector< shared_ptr < Shader > > st::ConfigurationManager::default_shaders |
|
private |
◆ shader_type
string st::ConfigurationManager::shader_type |
|
private |
◆ text_editor
string st::ConfigurationManager::text_editor |
|
private |
◆ textures_path
const string st::ConfigurationManager::textures_path |
The documentation for this class was generated from the following files: