|
stmm-games-doc
0.32.0
|

Public Member Functions | |
| XmlThemeImageParser (XmlConditionalParser &oXmlConditionalParser) | |
| std::pair< std::string, std::string > | parseImage (ThemeCtx &oCtx, const xmlpp::Element *p0Element, const std::string &sImgFileAttr, const std::string &sImgIdAttr, bool bAttrMandatory) |
| Parses image attributes. More... | |
| std::pair< std::string, std::string > | parseImage (ThemeCtx &oCtx, const xmlpp::Element *p0Element, bool bAttrMandatory) |
| Parses image attributes using attribute name defaults. More... | |
Public Member Functions inherited from stmg::XmlImageParser | |
| XmlImageParser (XmlConditionalParser &oXmlConditionalParser) | |
| int32_t | parseImageId (ConditionalCtx &oCtx, const xmlpp::Element *p0Element, const std::string &sImgIdAttr, bool bAttrMandatory) |
| Parses image id. More... | |
| int32_t | parseImageId (ConditionalCtx &oCtx, const xmlpp::Element *p0Element, bool bAttrMandatory) |
| Parses image id using attribute name defaults. More... | |
Static Public Attributes | |
| static const std::string | s_sImagesImageNodeName |
| The default image node element name. More... | |
| static const std::string | s_sImagesImageFileAttr |
| The default image file attribute name. More... | |
Static Public Attributes inherited from stmg::XmlImageParser | |
| static const std::string | s_sImagesImageIdAttr |
| The default image id attribute name. More... | |
Additional Inherited Members | |
Protected Attributes inherited from stmg::XmlImageParser | |
| XmlConditionalParser & | m_oXmlConditionalParser |
| stmg::XmlThemeImageParser::XmlThemeImageParser | ( | XmlConditionalParser & | oXmlConditionalParser | ) |
| std::pair<std::string, std::string> stmg::XmlThemeImageParser::parseImage | ( | ThemeCtx & | oCtx, |
| const xmlpp::Element * | p0Element, | ||
| const std::string & | sImgFileAttr, | ||
| const std::string & | sImgIdAttr, | ||
| bool | bAttrMandatory | ||
| ) |
Parses image attributes.
| oCtx | The context. |
| p0Element | The element. Cannot be null. |
| sImgFileAttr | The image file attribute. Cannot be empty. |
| sImgIdAttr | The image id attribute. If empty not parsed. |
| bAttrMandatory | Whether either attribute must be defined. |
| std::pair<std::string, std::string> stmg::XmlThemeImageParser::parseImage | ( | ThemeCtx & | oCtx, |
| const xmlpp::Element * | p0Element, | ||
| bool | bAttrMandatory | ||
| ) |
Parses image attributes using attribute name defaults.
| oCtx | The context. |
| p0Element | The element. Cannot be null. |
| bAttrMandatory | Whether either attribute must be defined. |
|
static |
The default image file attribute name.
|
static |
The default image node element name.
1.8.13