![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
#include <MItemContext.h>
Public Types | |
enum | ItemState { Inactive = 0 , Active , Defined , Undefined , ItemStateParseError } |
enum | StateScope { PerItem = 0 , Global , Combined , StateScopeParseError } |
Public Member Functions | |
ItemState | getSingleItemState (const std::string &key, const ItemId *objId) const |
ItemState | getState (const std::string &key, StateScope scope, const ItemId *objId=nullptr) const |
const std::map< std::string, std::string > & | variables () const |
std::map< std::string, std::string > & | variables () |
void | setVariable (const std::string &name, const std::string &value) |
std::string | getVariable (const std::string &name) const |
const std::map< std::string, std::map< ItemId, ItemState > > & | itemStates () const |
std::map< std::string, std::map< ItemId, ItemState > > & | itemStates () |
const std::map< std::string, ItemState > & | globalStates () const |
std::map< std::string, ItemState > & | globalStates () |
Static Public Member Functions | |
static const ItemContext & | empty () |
static ItemState | parseItemState (const std::string &itemStateString, ItemState defaultState=ItemStateParseError) |
static StateScope | parseStateScope (const std::string &stateScopeString, StateScope defaultScope=StateScopeParseError) |
ItemContext - Short description. Detailed description.