MyGUI 3.4.3
|
#include <MyGUI_XmlDocument.h>
Public Member Functions | |
bool | open (const std::string &_filename) |
bool | open (const std::wstring &_filename) |
bool | open (std::istream &_stream) |
bool | open (const UString &_filename) |
bool | open (IDataStream *_stream) |
bool | save (const std::string &_filename) |
bool | save (const std::wstring &_filename) |
bool | save (std::ostream &_stream) |
bool | save (const UString &_filename) |
void | clear () |
std::string | getLastError () const |
void | clearLastError () |
ElementPtr | createDeclaration (std::string_view _version="1.0", std::string_view _encoding="UTF-8") |
ElementPtr | createRoot (std::string_view _name) |
ElementPtr | getRoot () const |
ElementPtr | createInfo (std::string_view _version="1.0", std::string_view _encoding="UTF-8") |
Definition at line 297 of file MyGUI_XmlDocument.h.
void MyGUI::xml::Document::clear | ( | ) |
Definition at line 542 of file MyGUI_XmlDocument.cpp.
void MyGUI::xml::Document::clearLastError | ( | ) |
Definition at line 916 of file MyGUI_XmlDocument.cpp.
ElementPtr MyGUI::xml::Document::createDeclaration | ( | std::string_view | _version = "1.0", |
std::string_view | _encoding = "UTF-8" ) |
Definition at line 818 of file MyGUI_XmlDocument.cpp.
|
inline |
Definition at line 339 of file MyGUI_XmlDocument.h.
ElementPtr MyGUI::xml::Document::createRoot | ( | std::string_view | _name | ) |
Definition at line 827 of file MyGUI_XmlDocument.cpp.
std::string MyGUI::xml::Document::getLastError | ( | ) | const |
Definition at line 890 of file MyGUI_XmlDocument.cpp.
ElementPtr MyGUI::xml::Document::getRoot | ( | ) | const |
Definition at line 921 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::open | ( | const std::string & | _filename | ) |
Definition at line 383 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::open | ( | const std::wstring & | _filename | ) |
Definition at line 402 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::open | ( | const UString & | _filename | ) |
Definition at line 906 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::open | ( | IDataStream * | _stream | ) |
Definition at line 478 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::open | ( | std::istream & | _stream | ) |
Definition at line 420 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::save | ( | const std::string & | _filename | ) |
Definition at line 430 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::save | ( | const std::wstring & | _filename | ) |
Definition at line 454 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::save | ( | const UString & | _filename | ) |
Definition at line 911 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::save | ( | std::ostream & | _stream | ) |
Definition at line 522 of file MyGUI_XmlDocument.cpp.