Berserk
Public Member Functions | List of all members
ConfigData Class Reference

Internal parsed config data in xml format. More...

Public Member Functions

 ConfigData (String filepath)
 
bool Open ()
 
bool Parse ()
 
tinyxml2::XMLElement * FindSection (const StringName &name) const
 
tinyxml2::XMLElement * FindKey (tinyxml2::XMLElement *section, const StringName &name) const
 
tinyxml2::XMLElement * Find (const StringName &section, const StringName &key) const
 
const StringGetFilepath () const
 

Detailed Description

Internal parsed config data in xml format.

Constructor & Destructor Documentation

◆ ConfigData()

ConfigData::ConfigData ( String  filepath)
inlineexplicit

Member Function Documentation

◆ Find()

tinyxml2::XMLElement* ConfigData::Find ( const StringName section,
const StringName key 
) const
inline

◆ FindKey()

tinyxml2::XMLElement* ConfigData::FindKey ( tinyxml2::XMLElement *  section,
const StringName name 
) const
inline

◆ FindSection()

tinyxml2::XMLElement* ConfigData::FindSection ( const StringName name) const
inline

◆ GetFilepath()

const String& ConfigData::GetFilepath ( ) const
inline

◆ Open()

bool ConfigData::Open ( )
inline

◆ Parse()

bool ConfigData::Parse ( )
inline

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