|
static bool | HasChild (const TiXmlNode *pRootNode, const char *strTag) |
|
static bool | HasChild (const tinyxml2::XMLNode *rootNode, const char *tag) |
|
static bool | GetHex (const TiXmlNode *pRootNode, const char *strTag, uint32_t &dwHexValue) |
|
static bool | GetUInt (const TiXmlNode *pRootNode, const char *strTag, uint32_t &dwUIntValue) |
|
static bool | GetLong (const TiXmlNode *pRootNode, const char *strTag, long &lLongValue) |
|
static bool | GetFloat (const TiXmlNode *pRootNode, const char *strTag, float &value) |
|
static bool | GetDouble (const TiXmlNode *pRootNode, const char *strTag, double &value) |
|
static bool | GetInt (const TiXmlNode *pRootNode, const char *strTag, int &iIntValue) |
|
static bool | GetBoolean (const TiXmlNode *pRootNode, const char *strTag, bool &bBoolValue) |
|
static bool | GetHex (const tinyxml2::XMLNode *rootNode, const char *tag, uint32_t &value) |
|
static bool | GetUInt (const tinyxml2::XMLNode *rootNode, const char *tag, uint32_t &value) |
|
static bool | GetLong (const tinyxml2::XMLNode *rootNode, const char *tag, long &value) |
|
static bool | GetFloat (const tinyxml2::XMLNode *rootNode, const char *tag, float &value) |
|
static bool | GetDouble (const tinyxml2::XMLNode *rootNode, const char *tag, double &value) |
|
static bool | GetInt (const tinyxml2::XMLNode *rootNode, const char *tag, int &value) |
|
static bool | GetBoolean (const tinyxml2::XMLNode *rootNode, const char *tag, bool &value) |
|
static bool | GetString (const TiXmlNode *pRootNode, const char *strTag, std::string &strStringValue) |
| Get a string value from the xml tag If the specified tag isn't found strStringvalue is not modified and will contain whatever value it had before the method call.
|
|
static bool | GetString (const tinyxml2::XMLNode *rootNode, const char *tag, std::string &value) |
|
static std::string | GetString (const TiXmlNode *pRootNode, const char *strTag) |
| Get a string value from the xml tag.
|
|
static std::string | GetString (const tinyxml2::XMLNode *rootNode, const char *tag) |
|
static bool | GetAdditiveString (const TiXmlNode *rootNode, const char *tag, const std::string &separator, std::string &value, bool clear=false) |
| Get multiple tags, concatenating the values together. Transforms <tag>value1</tag> <tag clear="true">value2</tag> ... <tag>valuen</tag> into value2<sep>...<sep>valuen, appending it to the value string. Note that <value1> is overwritten by the clear="true" tag.
|
|
static bool | GetStringArray (const TiXmlNode *rootNode, const char *tag, std::vector< std::string > &arrayValue, bool clear=false, const std::string &separator="") |
|
static bool | GetPath (const TiXmlNode *pRootNode, const char *strTag, std::string &strStringValue) |
|
static bool | GetFloat (const TiXmlNode *pRootNode, const char *strTag, float &value, const float min, const float max) |
|
static bool | GetUInt (const TiXmlNode *pRootNode, const char *strTag, uint32_t &dwUIntValue, const uint32_t min, const uint32_t max) |
|
static bool | GetInt (const TiXmlNode *pRootNode, const char *strTag, int &iIntValue, const int min, const int max) |
|
static bool | GetDate (const TiXmlNode *pRootNode, const char *strTag, CDateTime &date) |
|
static bool | GetDateTime (const TiXmlNode *pRootNode, const char *strTag, CDateTime &dateTime) |
|
static bool | GetAdditiveString (const tinyxml2::XMLNode *rootNode, const char *tag, const std::string &separator, std::string &value, bool clear=false) |
|
static bool | GetStringArray (const tinyxml2::XMLNode *rootNode, const char *tag, std::vector< std::string > &value, bool clear=false, const std::string &separator="") |
|
static bool | GetPath (const tinyxml2::XMLNode *rootNode, const char *tag, std::string &value) |
|
static bool | GetFloat (const tinyxml2::XMLNode *rootNode, const char *tag, float &value, const float min, const float max) |
|
static bool | GetUInt (const tinyxml2::XMLNode *rootNode, const char *tag, uint32_t &value, const uint32_t min, const uint32_t max) |
|
static bool | GetInt (const tinyxml2::XMLNode *rootNode, const char *tag, int &value, const int min, const int max) |
|
static bool | GetDate (const tinyxml2::XMLNode *rootNode, const char *tag, CDateTime &date) |
|
static bool | GetDateTime (const tinyxml2::XMLNode *rootNode, const char *tag, CDateTime &dateTime) |
|
static std::string | GetAttribute (const TiXmlElement *element, const char *tag) |
| Fetch a std::string copy of an attribute, if it exists. Cannot distinguish between empty and non-existent attributes.
|
|
static std::string | GetAttribute (const tinyxml2::XMLElement *element, const char *tag) |
|
static TiXmlNode * | SetString (TiXmlNode *pRootNode, const char *strTag, const std::string &strValue) |
|
static void | SetAdditiveString (TiXmlNode *pRootNode, const char *strTag, const std::string &strSeparator, const std::string &strValue) |
|
static void | SetStringArray (TiXmlNode *pRootNode, const char *strTag, const std::vector< std::string > &arrayValue) |
|
static TiXmlNode * | SetInt (TiXmlNode *pRootNode, const char *strTag, int value) |
|
static TiXmlNode * | SetFloat (TiXmlNode *pRootNode, const char *strTag, float value) |
|
static TiXmlNode * | SetDouble (TiXmlNode *pRootNode, const char *strTag, double value) |
|
static void | SetBoolean (TiXmlNode *pRootNode, const char *strTag, bool value) |
|
static void | SetHex (TiXmlNode *pRootNode, const char *strTag, uint32_t value) |
|
static void | SetPath (TiXmlNode *pRootNode, const char *strTag, const std::string &strValue) |
|
static void | SetLong (TiXmlNode *pRootNode, const char *strTag, long iValue) |
|
static void | SetDate (TiXmlNode *pRootNode, const char *strTag, const CDateTime &date) |
|
static void | SetDateTime (TiXmlNode *pRootNode, const char *strTag, const CDateTime &dateTime) |
|
static tinyxml2::XMLNode * | SetString (tinyxml2::XMLNode *rootNode, const char *tag, const std::string &value) |
|
static void | SetAdditiveString (tinyxml2::XMLNode *rootNode, const char *tag, const std::string &separator, const std::string &value) |
|
static void | SetStringArray (tinyxml2::XMLNode *rootNode, const char *tag, const std::vector< std::string > &value) |
|
static tinyxml2::XMLNode * | SetInt (tinyxml2::XMLNode *rootNode, const char *tag, int value) |
|
static tinyxml2::XMLNode * | SetFloat (tinyxml2::XMLNode *rootNode, const char *tag, float value) |
|
static tinyxml2::XMLNode * | SetDouble (tinyxml2::XMLNode *rootNode, const char *tag, double value) |
|
static void | SetBoolean (tinyxml2::XMLNode *rootNode, const char *tag, bool value) |
|
static void | SetHex (tinyxml2::XMLNode *rootNode, const char *tag, uint32_t value) |
|
static void | SetPath (tinyxml2::XMLNode *rootNode, const char *tag, const std::string &value) |
|
static void | SetLong (tinyxml2::XMLNode *rootNode, const char *tag, long value) |
|
static void | SetDate (tinyxml2::XMLNode *rootNode, const char *tag, const CDateTime &date) |
|
static void | SetDateTime (tinyxml2::XMLNode *rootNode, const char *tag, const CDateTime &dateTime) |
|