Public Member Functions | |
| GlobalAccessor (State *state, const std::string &key) | |
| template<typename V > | |
| GlobalAccessor & | set (V value) |
| template<typename V > | |
| GlobalAccessor & | operator= (V value) |
| template<typename V > | |
| V | get () |
| template<typename V > | |
| operator V () | |
Public Attributes | |
| State * | state |
| std::string | key |
Accessor for an entry in the global namespace
|
inline |
|
inline |
Retrieve the associated value.
|
inline |
Shortcut for get()
|
inline |
Shortcut for set()
|
inline |
Assign a new value.
| std::string luwra::GlobalAccessor::key |
| State* luwra::GlobalAccessor::state |