Configuration variable hanlder.
More...
#include <ConfigVarHandler.h>
Configuration variable hanlder.
◆ ConfigVarHandler()
ConfigVarHandler::ConfigVarHandler |
( |
| ) |
|
◆ Find()
ConfigVar * ConfigVarHandler::Find |
( |
const Ogre::String & |
name | ) |
const |
Finds a variable by name.
- Parameters
-
[in] | name | Name of the variable to retrieve. |
- Returns
- The variable by the specified name, nullptr if there is no one by that name.
◆ GetConfigVar()
ConfigVar * ConfigVarHandler::GetConfigVar |
( |
const unsigned int |
i | ) |
const |
Retrieves a configuration variable by index.
- Parameters
-
[in] | i | Index of the configuration variable. |
- Returns
- Variable at the specified index.
◆ GetConfigVarNumber()
unsigned int ConfigVarHandler::GetConfigVarNumber |
( |
| ) |
const |
Counts the configuration variables.
- Returns
- The number of defined configuration variables.
◆ config_vars_
std::vector<ConfigVar*> ConfigVarHandler::config_vars_ |
|
private |
List of configuration variables.
The documentation for this class was generated from the following files: