liblcf
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
StructVectorXmlHandler< S > Class Template Reference
+ 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 223 of file reader_struct.cpp.

Constructor & Destructor Documentation

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

Definition at line 225 of file reader_struct.cpp.

Member Function Documentation

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

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

Definition at line 129 of file reader_xml.h.

Referenced by XmlReader::EndElement().

+ Here is the caller graph for this function:

virtual void XmlHandler::EndElement ( XmlReader ,
const char *   
)
inlinevirtualinherited
template<class S >
void StructVectorXmlHandler< S >::StartElement ( XmlReader stream,
const char *  name,
const char **  atts 
)
inlinevirtual

Reimplemented from XmlHandler.

Definition at line 227 of file reader_struct.cpp.

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

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 236 of file reader_struct.cpp.

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


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