Game Develop C++ Platform: XmlFile Class Reference

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
Public Member Functions | List of all members
XmlFile Class Reference
Built-in File extension

Helper class wrapping a tinyxml document in RAII fashion. More...

`#include <XmlFilesHelper.h>`

## Public Member Functions

| XmlFile (std::string filename)
| ~XmlFile ()
void | MarkAsModified ()
TiXmlDocument & | GetTinyXmlDocument ()
const TiXmlDocument & | GetTinyXmlDocument () const

## Detailed Description

Helper class wrapping a tinyxml document in RAII fashion.

## Constructor & Destructor Documentation

XmlFile::XmlFile | ( | std::string | filename) |  |

inline

Open file

Here is the call graph for this function:

XmlFile::~XmlFile | ( | ) |  |

inline

Save file is the document was marked as modified.

Here is the call graph for this function:

## Member Function Documentation

TiXmlDocument& XmlFile::GetTinyXmlDocument | ( | ) |  |

inline

Access to the tinyxml representation of the file

const TiXmlDocument& XmlFile::GetTinyXmlDocument | ( | ) |  | const

inline

Access to the tinyxml representation of the file

void XmlFile::MarkAsModified | ( | ) |  |

inline

Set the file to be saved when the object is destroyed.

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

- XmlFilesHelper.h