GameKit  0.0.1a
C++ gamedev tools
Public Member Functions | Private Attributes | List of all members
gk::XMLFile Class Reference

#include <XMLFile.hpp>

Public Member Functions

 XMLFile ()=default
 
 XMLFile (const std::string &filename)
 
void load (const std::string &filename)
 
tinyxml2::XMLHandle FirstChildElement (const char *element)
 

Private Attributes

tinyxml2::XMLDocument m_xml
 
tinyxml2::XMLHandle m_doc {m_xml}
 

Detailed Description

Definition at line 23 of file XMLFile.hpp.

Constructor & Destructor Documentation

§ XMLFile() [1/2]

gk::XMLFile::XMLFile ( )
default

§ XMLFile() [2/2]

gk::XMLFile::XMLFile ( const std::string &  filename)

Definition at line 19 of file XMLFile.cpp.

Member Function Documentation

§ FirstChildElement()

tinyxml2::XMLHandle gk::XMLFile::FirstChildElement ( const char *  element)
inline

Definition at line 30 of file XMLFile.hpp.

§ load()

void gk::XMLFile::load ( const std::string &  filename)

Definition at line 23 of file XMLFile.cpp.

Member Data Documentation

§ m_doc

tinyxml2::XMLHandle gk::XMLFile::m_doc {m_xml}
private

Definition at line 34 of file XMLFile.hpp.

§ m_xml

tinyxml2::XMLDocument gk::XMLFile::m_xml
private

Definition at line 33 of file XMLFile.hpp.


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