Game Develop C++ Platform: XmlFilesManager Class Reference

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

- Main Page
- Modules
- Classes
- Files

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

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

Helper class for opening XML files. More...

`#include <XmlFilesHelper.h>`

## Static Public Member Functions

static void | LoadFile (std::string filename)
static void | UnloadFile (std::string filename)
static boost::shared_ptr< XmlFile > | GetFile (std::string filename, bool isGoingToModifyFile=true)
static std::map< std::string, boost::shared_ptr< XmlFile > > | GetOpenedFilesList ()

## Detailed Description

Helper class for opening XML files.

## Member Function Documentation

static boost::shared_ptr<XmlFile> XmlFilesManager::GetFile | ( | std::string | filename,
|  | bool | isGoingToModifyFile = `true`
| ) |  |

inlinestatic

Get access to a file. If the file has not been loaded with LoadFile, it will be loaded now, and unload as soon as it is not used anymore.

static void XmlFilesManager::LoadFile | ( | std::string | filename) |  |

inlinestatic

Load a file and keep it in memory

static void XmlFilesManager::UnloadFile | ( | std::string | filename) |  |

inlinestatic

Unload a file kept in memory

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

- XmlFilesHelper.h
- XmlFilesHelper.cpp