#include <globals.hpp>
List of all members.
Classes |
union | Data |
Public Types |
typedef std::map< std::string,
std::pair< char, Data > > | Collection |
Public Member Functions |
| Globals (const MWWorld::ESMStore &store) |
const Data & | operator[] (const std::string &name) const |
Data & | operator[] (const std::string &name) |
void | setInt (const std::string &name, int value) |
| Set value independently from real type.
|
void | setFloat (const std::string &name, float value) |
| Set value independently from real type.
|
int | getInt (const std::string &name) const |
| Get value independently from real type.
|
float | getFloat (const std::string &name) const |
| Get value independently from real type.
|
char | getType (const std::string &name) const |
| If there is no global variable with this name, ' ' is returned.
|
std::vector< std::string > | getGlobals () const |
Private Member Functions |
Collection::const_iterator | find (const std::string &name) const |
Collection::iterator | find (const std::string &name) |
Private Attributes |
Collection | mVariables |
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
Get value independently from real type.
Get value independently from real type.
If there is no global variable with this name, ' ' is returned.
const Globals::Data & MWWorld::Globals::operator[] |
( |
const std::string & |
name | ) |
const |
Globals::Data & MWWorld::Globals::operator[] |
( |
const std::string & |
name | ) |
|
Set value independently from real type.
Set value independently from real type.
Member Data Documentation
The documentation for this class was generated from the following files: