liblcf
StructXmlHandler< S > Class Template Reference

#include <reader_struct_impl.h>

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

Public Member Functions

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

Private Attributes

S & ref
 
const Field< S > * field
 

Detailed Description

template<class S>
class StructXmlHandler< S >

Definition at line 167 of file reader_struct_impl.h.

Constructor & Destructor Documentation

◆ StructXmlHandler()

template<class S >
StructXmlHandler< S >::StructXmlHandler ( S &  ref)
inline

Definition at line 169 of file reader_struct_impl.h.

References Struct< S >::MakeTagMap().

+ Here is the call graph for this function:

Member Function Documentation

◆ CharacterData()

template<class S >
void StructXmlHandler< S >::CharacterData ( XmlReader ,
const std::string &  data 
)
inlinevirtual

Reimplemented from XmlHandler.

Definition at line 182 of file reader_struct_impl.h.

References Data::data, StructXmlHandler< S >::field, and StructXmlHandler< S >::ref.

◆ EndElement()

template<class S >
void StructXmlHandler< S >::EndElement ( XmlReader ,
const char *   
)
inlinevirtual

Reimplemented from XmlHandler.

Definition at line 178 of file reader_struct_impl.h.

References StructXmlHandler< S >::field.

◆ StartElement()

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

Reimplemented from XmlHandler.

Definition at line 173 of file reader_struct_impl.h.

References StructXmlHandler< S >::field, and StructXmlHandler< S >::ref.

Member Data Documentation

◆ field

template<class S >
const Field<S>* StructXmlHandler< S >::field
private

◆ ref

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

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