#include <MyGUI_XmlDocument.h>
Public Member Functions | |
~Element () | |
ElementPtr | createChild (const std::string &_name, const std::string &_content="") |
template<typename T > | |
void | addAttribute (const std::string &_key, const T &_value) |
void | addAttribute (const std::string &_key, const std::string &_value) |
void | removeAttribute (const std::string &_key) |
void | setAttribute (const std::string &_key, const std::string &_value) |
template<typename T > | |
void | addContent (const T &_content) |
void | addContent (const std::string &_content) |
template<typename T > | |
void | setContent (const T &_content) |
void | setContent (const std::string &_content) |
void | clear () |
bool | findAttribute (const std::string &_name, std::string &_value) |
std::string | findAttribute (const std::string &_name) |
const std::string & | getName () |
const std::string & | getContent () |
const VectorAttributes & | getAttributes () |
ElementPtr | getParent () |
ElementEnumerator | getElementEnumerator () |
ElementType | getType () |
ElementPtr | createCopy () |
template<typename T > | |
__declspec (deprecated("use : template <typename T> void Element::addAttribute(const std::string &_key, const T& _value)")) void addAttributes(const std | |
__declspec (deprecated("use : void Element::addAttribute(const std::string& _key, const std::string& _value)")) void addAttributes(const std | |
template<typename T > | |
__declspec (deprecated("use : template <typename T> void Element::addContent(const T& _content)")) void addBody(const T &_content) | |
__declspec (deprecated("use : void Element::addContent(const std::string& _content)")) void addBody(const std | |
template<typename T > | |
__declspec (deprecated("use : template <typename T> void Element::setContent(const T& _content)")) void setBody(const T &_content) | |
__declspec (deprecated("use : void Element::setContent(const std::string& _content)")) void setBody(const std | |
__declspec (deprecated("use : const std::string& Element::getContent()")) const std | |
__declspec (deprecated("use : ElementEnumerator Element::getElementEnumerator()")) ElementEnumerator getNodeIterator() | |
Friends | |
class | Document |
Definition at line 152 of file MyGUI_XmlDocument.h.
MyGUI::xml::Element::~Element | ( | ) |
Definition at line 150 of file MyGUI_XmlDocument.cpp.
MyGUI::xml::Element::__declspec | ( | deprecated("use : ElementEnumerator Element::getElementEnumerator()") | ) | [inline] |
Definition at line 232 of file MyGUI_XmlDocument.h.
MyGUI::xml::Element::__declspec | ( | deprecated("use : const std::string& Element::getContent()") | ) | const [inline] |
Definition at line 230 of file MyGUI_XmlDocument.h.
MyGUI::xml::Element::__declspec | ( | deprecated("use : void Element::setContent(const std::string& _content)") | ) | const [inline] |
Definition at line 227 of file MyGUI_XmlDocument.h.
MyGUI::xml::Element::__declspec | ( | deprecated("use : template <typename T> void Element::setContent(const T& _content)") | ) | const [inline] |
Definition at line 225 of file MyGUI_XmlDocument.h.
MyGUI::xml::Element::__declspec | ( | deprecated("use : void Element::addContent(const std::string& _content)") | ) | const [inline] |
Definition at line 222 of file MyGUI_XmlDocument.h.
MyGUI::xml::Element::__declspec | ( | deprecated("use : template <typename T> void Element::addContent(const T& _content)") | ) | const [inline] |
Definition at line 220 of file MyGUI_XmlDocument.h.
MyGUI::xml::Element::__declspec | ( | deprecated("use : void Element::addAttribute(const std::string& _key, const std::string& _value)") | ) | const [inline] |
Definition at line 216 of file MyGUI_XmlDocument.h.
MyGUI::xml::Element::__declspec | ( | deprecated("use : template <typename T> void Element::addAttribute(const std::string &_key, const T& _value)") | ) | const [inline] |
Definition at line 214 of file MyGUI_XmlDocument.h.
void MyGUI::xml::Element::addAttribute | ( | const std::string & | _key, | |
const std::string & | _value | |||
) |
Definition at line 249 of file MyGUI_XmlDocument.cpp.
void MyGUI::xml::Element::addAttribute | ( | const std::string & | _key, | |
const T & | _value | |||
) | [inline] |
Definition at line 167 of file MyGUI_XmlDocument.h.
void MyGUI::xml::Element::addContent | ( | const std::string & | _content | ) |
Definition at line 294 of file MyGUI_XmlDocument.cpp.
void MyGUI::xml::Element::addContent | ( | const T & | _content | ) | [inline] |
Definition at line 179 of file MyGUI_XmlDocument.h.
void MyGUI::xml::Element::clear | ( | ) |
Definition at line 219 of file MyGUI_XmlDocument.cpp.
ElementPtr MyGUI::xml::Element::createChild | ( | const std::string & | _name, | |
const std::string & | _content = "" | |||
) |
Definition at line 212 of file MyGUI_XmlDocument.cpp.
ElementPtr MyGUI::xml::Element::createCopy | ( | ) |
Definition at line 266 of file MyGUI_XmlDocument.cpp.
std::string MyGUI::xml::Element::findAttribute | ( | const std::string & | _name | ) |
Definition at line 240 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Element::findAttribute | ( | const std::string & | _name, | |
std::string & | _value | |||
) |
Definition at line 227 of file MyGUI_XmlDocument.cpp.
const VectorAttributes& MyGUI::xml::Element::getAttributes | ( | ) | [inline] |
Definition at line 201 of file MyGUI_XmlDocument.h.
const std::string& MyGUI::xml::Element::getContent | ( | ) | [inline] |
Definition at line 200 of file MyGUI_XmlDocument.h.
ElementEnumerator MyGUI::xml::Element::getElementEnumerator | ( | ) | [inline] |
Definition at line 204 of file MyGUI_XmlDocument.h.
const std::string& MyGUI::xml::Element::getName | ( | void | ) | [inline] |
Definition at line 199 of file MyGUI_XmlDocument.h.
ElementPtr MyGUI::xml::Element::getParent | ( | ) | [inline] |
Definition at line 202 of file MyGUI_XmlDocument.h.
ElementType MyGUI::xml::Element::getType | ( | ) | [inline] |
Definition at line 206 of file MyGUI_XmlDocument.h.
void MyGUI::xml::Element::removeAttribute | ( | const std::string & | _key | ) |
Definition at line 254 of file MyGUI_XmlDocument.cpp.
void MyGUI::xml::Element::setAttribute | ( | const std::string & | _key, | |
const std::string & | _value | |||
) |
Definition at line 281 of file MyGUI_XmlDocument.cpp.
void MyGUI::xml::Element::setContent | ( | const std::string & | _content | ) | [inline] |
Definition at line 192 of file MyGUI_XmlDocument.h.
void MyGUI::xml::Element::setContent | ( | const T & | _content | ) | [inline] |
Definition at line 187 of file MyGUI_XmlDocument.h.
friend class Document [friend] |
Definition at line 154 of file MyGUI_XmlDocument.h.