liblcf
StructVectorXmlHandler< S > Class Template Reference

#include <reader_struct_impl.h>

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

Public Member Functions

 StructVectorXmlHandler (std::vector< S > &ref)
 
void StartElement (XmlReader &stream, const char *name, const char **atts)
 
virtual void CharacterData (XmlReader &, const std::string &)
 
virtual void EndElement (XmlReader &, const char *)
 

Private Attributes

std::vector< S > & ref
 

Detailed Description

template<class S>
class StructVectorXmlHandler< S >

Definition at line 253 of file reader_struct_impl.h.

Constructor & Destructor Documentation

◆ StructVectorXmlHandler()

template<class S >
StructVectorXmlHandler< S >::StructVectorXmlHandler ( std::vector< S > &  ref)
inline

Definition at line 255 of file reader_struct_impl.h.

Member Function Documentation

◆ CharacterData()

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

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

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 StructVectorXmlHandler< S >::StartElement ( XmlReader stream,
const char *  name,
const char **  atts 
)
inlinevirtual

Reimplemented from XmlHandler.

Definition at line 257 of file reader_struct_impl.h.

References XmlReader::Error(), StructVectorXmlHandler< S >::ref, and XmlReader::SetHandler().

+ Here is the call graph for this function:

Member Data Documentation

◆ ref

template<class S >
std::vector<S>& StructVectorXmlHandler< S >::ref
private

Definition at line 266 of file reader_struct_impl.h.

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


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