#include <MyGUI_XmlDocument.h>
Public Member Functions | |
Document () | |
~Document () | |
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 *_data) |
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 () |
void | clearLastError () |
ElementPtr | createDeclaration (const std::string &_version="1.0", const std::string &_encoding="UTF-8") |
ElementPtr | createRoot (const std::string &_name) |
ElementPtr | getRoot () |
ElementPtr | createInfo (const std::string &_version="1.0", const std::string &_encoding="UTF-8") |
Definition at line 249 of file MyGUI_XmlDocument.h.
MyGUI::xml::Document::Document | ( | ) |
Definition at line 315 of file MyGUI_XmlDocument.cpp.
MyGUI::xml::Document::~Document | ( | ) |
Definition at line 324 of file MyGUI_XmlDocument.cpp.
void MyGUI::xml::Document::clear | ( | ) |
Definition at line 486 of file MyGUI_XmlDocument.cpp.
void MyGUI::xml::Document::clearLastError | ( | ) | [inline] |
Definition at line 282 of file MyGUI_XmlDocument.h.
ElementPtr MyGUI::xml::Document::createDeclaration | ( | const std::string & | _version = "1.0" , |
|
const std::string & | _encoding = "UTF-8" | |||
) |
Definition at line 752 of file MyGUI_XmlDocument.cpp.
ElementPtr MyGUI::xml::Document::createInfo | ( | const std::string & | _version = "1.0" , |
|
const std::string & | _encoding = "UTF-8" | |||
) | [inline] |
Definition at line 293 of file MyGUI_XmlDocument.h.
ElementPtr MyGUI::xml::Document::createRoot | ( | const std::string & | _name | ) |
Definition at line 761 of file MyGUI_XmlDocument.cpp.
std::string MyGUI::xml::Document::getLastError | ( | ) |
Definition at line 820 of file MyGUI_XmlDocument.cpp.
ElementPtr MyGUI::xml::Document::getRoot | ( | ) | [inline] |
Definition at line 287 of file MyGUI_XmlDocument.h.
bool MyGUI::xml::Document::open | ( | IDataStream * | _data | ) |
Definition at line 426 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::open | ( | const UString & | _filename | ) | [inline] |
Definition at line 264 of file MyGUI_XmlDocument.h.
bool MyGUI::xml::Document::open | ( | const std::string & | _filename | ) |
Definition at line 330 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::open | ( | const std::wstring & | _filename | ) |
Definition at line 349 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::open | ( | std::istream & | _stream | ) |
Definition at line 367 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::save | ( | const UString & | _filename | ) | [inline] |
Definition at line 276 of file MyGUI_XmlDocument.h.
bool MyGUI::xml::Document::save | ( | const std::string & | _filename | ) |
Definition at line 378 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::save | ( | std::ostream & | _stream | ) |
Definition at line 467 of file MyGUI_XmlDocument.cpp.
bool MyGUI::xml::Document::save | ( | const std::wstring & | _filename | ) |
Definition at line 402 of file MyGUI_XmlDocument.cpp.