|
MyGUI
3.2.0
|
#include <MyGUI_XmlDocument.h>
Public Member Functions | |
| ~Element () | |
| ElementPtr | createChild (const std::string &_name, const std::string &_content="", ElementType _type=ElementType::Normal) |
| void | removeChild (ElementPtr _child) |
| 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 |
| const std::string & | getContent () const |
| const VectorAttributes & | getAttributes () const |
| ElementPtr | getParent () const |
| ElementEnumerator | getElementEnumerator () |
| ElementType | getType () const |
| ElementPtr | createCopy () |
| template<typename T > | |
| void | addAttributes (const std::string &_key, const T &_value) |
| void | addAttributes (const std::string &_key, const std::string &_value) |
| template<typename T > | |
| void | addBody (const T &_content) |
| void | addBody (const std::string &_content) |
| template<typename T > | |
| void | setBody (const T &_content) |
| void | setBody (const std::string &_content) |
| const std::string & | getBody () const |
| ElementEnumerator | getNodeIterator () |
Friends | |
| class | Document |
Definition at line 168 of file MyGUI_XmlDocument.h.
| MyGUI::xml::Element::~Element | ( | ) |
Definition at line 163 of file MyGUI_XmlDocument.cpp.
|
inline |
Definition at line 184 of file MyGUI_XmlDocument.h.
| void MyGUI::xml::Element::addAttribute | ( | const std::string & | _key, |
| const std::string & | _value | ||
| ) |
Definition at line 284 of file MyGUI_XmlDocument.cpp.
|
inline |
Definition at line 235 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 240 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 247 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 252 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 196 of file MyGUI_XmlDocument.h.
| void MyGUI::xml::Element::addContent | ( | const std::string & | _content | ) |
Definition at line 329 of file MyGUI_XmlDocument.cpp.
| void MyGUI::xml::Element::clear | ( | ) |
Definition at line 253 of file MyGUI_XmlDocument.cpp.
| ElementPtr MyGUI::xml::Element::createChild | ( | const std::string & | _name, |
| const std::string & | _content = "", |
||
| ElementType | _type = ElementType::Normal |
||
| ) |
Definition at line 236 of file MyGUI_XmlDocument.cpp.
| ElementPtr MyGUI::xml::Element::createCopy | ( | ) |
Definition at line 301 of file MyGUI_XmlDocument.cpp.
| bool MyGUI::xml::Element::findAttribute | ( | const std::string & | _name, |
| std::string & | _value | ||
| ) |
Definition at line 261 of file MyGUI_XmlDocument.cpp.
| std::string MyGUI::xml::Element::findAttribute | ( | const std::string & | _name | ) |
Definition at line 274 of file MyGUI_XmlDocument.cpp.
| const VectorAttributes & MyGUI::xml::Element::getAttributes | ( | ) | const |
Definition at line 357 of file MyGUI_XmlDocument.cpp.
|
inline |
Definition at line 269 of file MyGUI_XmlDocument.h.
| const std::string & MyGUI::xml::Element::getContent | ( | ) | const |
Definition at line 352 of file MyGUI_XmlDocument.cpp.
| ElementEnumerator MyGUI::xml::Element::getElementEnumerator | ( | ) |
Definition at line 367 of file MyGUI_XmlDocument.cpp.
| const std::string & MyGUI::xml::Element::getName | ( | void | ) | const |
Definition at line 347 of file MyGUI_XmlDocument.cpp.
|
inline |
Definition at line 274 of file MyGUI_XmlDocument.h.
| ElementPtr MyGUI::xml::Element::getParent | ( | ) | const |
Definition at line 362 of file MyGUI_XmlDocument.cpp.
| ElementType MyGUI::xml::Element::getType | ( | ) | const |
Definition at line 372 of file MyGUI_XmlDocument.cpp.
| void MyGUI::xml::Element::removeAttribute | ( | const std::string & | _key | ) |
Definition at line 289 of file MyGUI_XmlDocument.cpp.
| void MyGUI::xml::Element::removeChild | ( | ElementPtr | _child | ) |
Definition at line 243 of file MyGUI_XmlDocument.cpp.
| void MyGUI::xml::Element::setAttribute | ( | const std::string & | _key, |
| const std::string & | _value | ||
| ) |
Definition at line 316 of file MyGUI_XmlDocument.cpp.
|
inline |
Definition at line 258 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 263 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 204 of file MyGUI_XmlDocument.h.
| void MyGUI::xml::Element::setContent | ( | const std::string & | _content | ) |
Definition at line 342 of file MyGUI_XmlDocument.cpp.
|
friend |
Definition at line 170 of file MyGUI_XmlDocument.h.
1.8.5