|
| | GameCtx (const shared_ptr< AppPreferences > &refAppPreferences, File oGameFile, Game &oGame, const GameConstraints &oGameConstraints) |
| |
| Game & | game () |
| |
| NamedObjIndex< Block > & | getNamedBlocks () |
| |
| Level & | level () |
| |
| const GameConstraints & | getGameConstraints () const |
| |
| int32_t | getContextTeam () const override |
| | Returns the context team. More...
|
| |
| std::pair< int32_t, OwnerType > | getVariableIdAndOwnerTypeFromContext (const std::string &sName, int32_t nTeam, int32_t nMate) const |
| | Returns the variable id and owner type from the team and mate context. More...
|
| |
| | ConditionalCtx (const shared_ptr< AppPreferences > &refAppPreferences, Named &oNamed) |
| |
| | ConditionalCtx (const shared_ptr< AppConfig > &refAppConfig, Named &oNamed) |
| |
| virtual int32_t | getContextMate () const |
| | The context mate. More...
|
| |
| void | addChecker (const xmlpp::Element *p0Element) override |
| | Adds a checker for the element. More...
|
| |
| void | removeChecker (const xmlpp::Element *p0Element, bool bCheckChildElements, bool bCheckAttrs) override |
| | Removes a checker for the element. More...
|
| |
| | ParserCtx (const shared_ptr< AppConfig > &refAppConfig, Named &oNamed) |
| | Constructor. More...
|
| |
| | ParserCtx (const shared_ptr< AppPreferences > &refAppPreferences, Named &oNamed) |
| | Constructor. More...
|
| |
| virtual | ~ParserCtx () |
| |
| const shared_ptr< AppConfig > & | appConfig () |
| | The app config. More...
|
| |
| const shared_ptr< AppPreferences > & | appPreferences () |
| | The app preferences. More...
|
| |
| Named & | named () |
| | The named assets. More...
|
| |
| void | pushCtx (const std::string &sStr) |
| | Push a context. More...
|
| |
| void | popCtx () |
| | Pop a context. More...
|
| |
| void | addValidChildElementName (const xmlpp::Element *p0Element, const std::string &sChildElementName) |
| | Declares a child element name as valid. More...
|
| |
| void | addValidChildElementNames (const xmlpp::Element *p0Element, const std::string &sChildElementName) |
| | Declares a child element name as valid. More...
|
| |
| template<typename ... Names> |
| void | addValidChildElementNames (const xmlpp::Element *p0Element, const std::string &sChildElementName, const Names &... oNames) |
| | Declares multiple child element names as valid. More...
|
| |
| void | addValidAttrName (const xmlpp::Element *p0Element, const std::string &sAttrName) |
| | Declares an attribute name as valid. More...
|
| |
| void | addValidAttrNames (const xmlpp::Element *p0Element, const std::string &sAttrName) |
| | Declares an attribute name as valid. More...
|
| |
| template<typename ... Names> |
| void | addValidAttrNames (const xmlpp::Element *p0Element, const std::string &sAttrName, const Names &... oNames) |
| | Declares attribute names as valid. More...
|
| |
| void | removeChecker (const xmlpp::Element *p0Element, bool bCheck) |
| | Removes a checker for the element. More...
|
| |
| std::runtime_error | error (const std::string &sErr) |
| | Creates an exception for the current context. More...
|
| |
| void | dump () const |
| |