MyGUI  3.2.0
Public Member Functions
MyGUI::xml::Document Class Reference

#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 () const
ElementPtr createInfo (const std::string &_version="1.0", const std::string &_encoding="UTF-8")

Detailed Description

Definition at line 293 of file MyGUI_XmlDocument.h.


Constructor & Destructor Documentation

Definition at line 400 of file MyGUI_XmlDocument.cpp.

Definition at line 409 of file MyGUI_XmlDocument.cpp.


Member Function Documentation

Definition at line 576 of file MyGUI_XmlDocument.cpp.

Definition at line 957 of file MyGUI_XmlDocument.cpp.

ElementPtr MyGUI::xml::Document::createDeclaration ( const std::string &  _version = "1.0",
const std::string &  _encoding = "UTF-8" 
)

Definition at line 868 of file MyGUI_XmlDocument.cpp.

ElementPtr MyGUI::xml::Document::createInfo ( const std::string &  _version = "1.0",
const std::string &  _encoding = "UTF-8" 
) [inline]
Deprecated:
"use : ElementPtr Document::createDeclaration(const std::string& _version, const std::string& _encoding)"

Definition at line 337 of file MyGUI_XmlDocument.h.

ElementPtr MyGUI::xml::Document::createRoot ( const std::string &  _name)

Definition at line 877 of file MyGUI_XmlDocument.cpp.

Definition at line 939 of file MyGUI_XmlDocument.cpp.

Definition at line 962 of file MyGUI_XmlDocument.cpp.

bool MyGUI::xml::Document::open ( const std::string &  _filename)

Definition at line 415 of file MyGUI_XmlDocument.cpp.

bool MyGUI::xml::Document::open ( const std::wstring &  _filename)

Definition at line 434 of file MyGUI_XmlDocument.cpp.

bool MyGUI::xml::Document::open ( std::istream &  _stream)

Definition at line 452 of file MyGUI_XmlDocument.cpp.

bool MyGUI::xml::Document::open ( const UString _filename)

Definition at line 947 of file MyGUI_XmlDocument.cpp.

Definition at line 511 of file MyGUI_XmlDocument.cpp.

bool MyGUI::xml::Document::save ( const std::string &  _filename)

Definition at line 463 of file MyGUI_XmlDocument.cpp.

bool MyGUI::xml::Document::save ( const std::wstring &  _filename)

Definition at line 487 of file MyGUI_XmlDocument.cpp.

bool MyGUI::xml::Document::save ( std::ostream &  _stream)

Definition at line 556 of file MyGUI_XmlDocument.cpp.

bool MyGUI::xml::Document::save ( const UString _filename)

Definition at line 952 of file MyGUI_XmlDocument.cpp.


The documentation for this class was generated from the following files: