liblcf
RootXmlHandler< S > Class Template Reference

#include <reader_struct.h>

+ Inheritance diagram for RootXmlHandler< S >:
+ Collaboration diagram for RootXmlHandler< S >:

Public Member Functions

 RootXmlHandler (S &ref, const char *const name)
 
void StartElement (XmlReader &stream, const char *name, const char **)
 
virtual void CharacterData (XmlReader &, const std::string &)
 
virtual void EndElement (XmlReader &, const char *)
 

Private Attributes

S & ref
 
const char *const name
 

Detailed Description

template<class S>
class RootXmlHandler< S >

Root node XML handler.

Definition at line 725 of file reader_struct.h.

Constructor & Destructor Documentation

◆ RootXmlHandler()

template<class S >
RootXmlHandler< S >::RootXmlHandler ( S &  ref,
const char *const  name 
)
inline

Definition at line 728 of file reader_struct.h.

Member Function Documentation

◆ CharacterData()

virtual void XmlHandler::CharacterData ( XmlReader ,
const std::string &   
)
inlinevirtualinherited

Reimplemented in StructXmlHandler< S >, MoveCommandXmlHandler, FlagsXmlHandler< S >, EventCommandXmlHandler, TreeMapXmlHandler, EquipmentXmlHandler, ParametersXmlHandler, and RectXmlHandler.

Definition at line 120 of file reader_xml.h.

Referenced by XmlReader::EndElement().

+ Here is the caller graph for this function:

◆ EndElement()

virtual void XmlHandler::EndElement ( XmlReader ,
const char *   
)
inlinevirtualinherited

◆ StartElement()

template<class S >
void RootXmlHandler< S >::StartElement ( XmlReader stream,
const char *  name,
const char **   
)
inlinevirtual

Reimplemented from XmlHandler.

Definition at line 730 of file reader_struct.h.

References XmlReader::Error(), RootXmlHandler< S >::name, and RootXmlHandler< S >::ref.

+ Here is the call graph for this function:

Member Data Documentation

◆ name

template<class S >
const char* const RootXmlHandler< S >::name
private

Definition at line 738 of file reader_struct.h.

Referenced by RootXmlHandler< S >::StartElement().

◆ ref

template<class S >
S& RootXmlHandler< S >::ref
private

Definition at line 737 of file reader_struct.h.

Referenced by RootXmlHandler< S >::StartElement().


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