MyGUI
3.0.1
|
#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 |
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 () |
ElementEnumerator | getNodeIterator () |
Friends | |
class | Document |
Definition at line 151 of file MyGUI_XmlDocument.h.
MyGUI::xml::Element::~Element | ( | ) |
Definition at line 149 of file MyGUI_XmlDocument.cpp.
|
inline |
Definition at line 166 of file MyGUI_XmlDocument.h.
void MyGUI::xml::Element::addAttribute | ( | const std::string & | _key, |
const std::string & | _value | ||
) |
Definition at line 248 of file MyGUI_XmlDocument.cpp.
|
inline |
Definition at line 214 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 216 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 220 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 222 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 178 of file MyGUI_XmlDocument.h.
void MyGUI::xml::Element::addContent | ( | const std::string & | _content | ) |
Definition at line 293 of file MyGUI_XmlDocument.cpp.
void MyGUI::xml::Element::clear | ( | ) |
Definition at line 218 of file MyGUI_XmlDocument.cpp.
ElementPtr MyGUI::xml::Element::createChild | ( | const std::string & | _name, |
const std::string & | _content = "" |
||
) |
Definition at line 211 of file MyGUI_XmlDocument.cpp.
ElementPtr MyGUI::xml::Element::createCopy | ( | ) |
Definition at line 265 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Element::findAttribute | ( | const std::string & | _name, |
std::string & | _value | ||
) |
Definition at line 226 of file MyGUI_XmlDocument.cpp.
std::string MyGUI::xml::Element::findAttribute | ( | const std::string & | _name | ) |
Definition at line 239 of file MyGUI_XmlDocument.cpp.
|
inline |
Definition at line 200 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 230 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 199 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 203 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 198 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 232 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 201 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 205 of file MyGUI_XmlDocument.h.
void MyGUI::xml::Element::removeAttribute | ( | const std::string & | _key | ) |
Definition at line 253 of file MyGUI_XmlDocument.cpp.
void MyGUI::xml::Element::setAttribute | ( | const std::string & | _key, |
const std::string & | _value | ||
) |
Definition at line 280 of file MyGUI_XmlDocument.cpp.
|
inline |
Definition at line 225 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 227 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 186 of file MyGUI_XmlDocument.h.
|
inline |
Definition at line 191 of file MyGUI_XmlDocument.h.
|
friend |
Definition at line 153 of file MyGUI_XmlDocument.h.