Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CXBMCTinyXML Class Reference

#include <XBMCTinyXML.h>

Inheritance diagram for CXBMCTinyXML:

Public Member Functions

 CXBMCTinyXML ()
 
 CXBMCTinyXML (const char *)
 
 CXBMCTinyXML (const std::string &documentName)
 
 CXBMCTinyXML (const std::string &documentName, const std::string &documentCharset)
 
bool LoadFile (TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 
bool LoadFile (const char *, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 
bool LoadFile (const std::string &_filename, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 
bool LoadFile (const std::string &_filename, const std::string &documentCharset)
 
bool LoadFile (FILE *, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 
bool SaveFile (const char *) const
 
bool SaveFile (const std::string &filename) const
 
bool Parse (const std::string &data, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 
bool Parse (const std::string &data, const std::string &dataCharset)
 
const std::string & GetSuggestedCharset () const
 
const std::string & GetUsedCharset () const
 

Static Public Member Functions

static bool Test ()
 

Protected Member Functions

bool TryParse (const std::string &data, const std::string &tryDataCharset)
 
bool InternalParse (const std::string &rawdata, TiXmlEncoding encoding=TIXML_DEFAULT_ENCODING)
 

Protected Attributes

std::string m_SuggestedCharset
 
std::string m_UsedCharset
 

Constructor & Destructor Documentation

◆ CXBMCTinyXML() [1/4]

CXBMCTinyXML::CXBMCTinyXML ( )

◆ CXBMCTinyXML() [2/4]

CXBMCTinyXML::CXBMCTinyXML ( const char * documentName)
explicit

◆ CXBMCTinyXML() [3/4]

CXBMCTinyXML::CXBMCTinyXML ( const std::string & documentName)
explicit

◆ CXBMCTinyXML() [4/4]

CXBMCTinyXML::CXBMCTinyXML ( const std::string & documentName,
const std::string & documentCharset )

Member Function Documentation

◆ GetSuggestedCharset()

const std::string & CXBMCTinyXML::GetSuggestedCharset ( ) const
inline

◆ GetUsedCharset()

const std::string & CXBMCTinyXML::GetUsedCharset ( ) const
inline

◆ InternalParse()

bool CXBMCTinyXML::InternalParse ( const std::string & rawdata,
TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING )
protected

◆ LoadFile() [1/5]

bool CXBMCTinyXML::LoadFile ( const char * _filename,
TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING )

◆ LoadFile() [2/5]

bool CXBMCTinyXML::LoadFile ( const std::string & _filename,
const std::string & documentCharset )

◆ LoadFile() [3/5]

bool CXBMCTinyXML::LoadFile ( const std::string & _filename,
TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING )

◆ LoadFile() [4/5]

bool CXBMCTinyXML::LoadFile ( FILE * f,
TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING )

◆ LoadFile() [5/5]

bool CXBMCTinyXML::LoadFile ( TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING)

◆ Parse() [1/2]

bool CXBMCTinyXML::Parse ( const std::string & data,
const std::string & dataCharset )

◆ Parse() [2/2]

bool CXBMCTinyXML::Parse ( const std::string & data,
TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING )

◆ SaveFile() [1/2]

bool CXBMCTinyXML::SaveFile ( const char * _filename) const

◆ SaveFile() [2/2]

bool CXBMCTinyXML::SaveFile ( const std::string & filename) const

◆ Test()

bool CXBMCTinyXML::Test ( )
static

◆ TryParse()

bool CXBMCTinyXML::TryParse ( const std::string & data,
const std::string & tryDataCharset )
protected

Member Data Documentation

◆ m_SuggestedCharset

std::string CXBMCTinyXML::m_SuggestedCharset
protected

◆ m_UsedCharset

std::string CXBMCTinyXML::m_UsedCharset
protected

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