hpp-util
4.12.0
Debugging tools for the HPP project.
|
Go to the documentation of this file.
17 #ifndef HPP_UTIL_FACTORIES_SEQUENCE_HH
18 # define HPP_UTIL_FACTORIES_SEQUENCE_HH
35 template <
typename ValueType>
63 std::vector <ValueType> values_;
72 #endif // HPP_UTIL_FACTORIES_SEQUENCE_HH
SequenceFactory(ObjectFactory *parent, const XMLElement *element, const unsigned int nbValue=0)
Definition: sequence.hh:39
Class that catch XML Parser events for a specific tag and build the corresponding Object.
Definition: parser.hh:77
std::string tagName() const
Definition: parser.cc:210
TiXmlText XMLText
Definition: parser.hh:36
const OutType & values() const
Definition: sequence.hh:45
virtual void impl_write(XMLElement *element) const
Definition: sequence.cc:118
Factory parsing sequence of values.
Definition: sequence.hh:36
Definition: assertion.hh:22
void values(const OutType &v)
Definition: sequence.hh:54
TiXmlElement XMLElement
Definition: parser.hh:31
std::vector< ValueType > OutType
Definition: sequence.hh:38
virtual void addTextChild(const XMLText *text)
Add Text child.
Definition: sequence.cc:97
SequenceFactory(const std::string &tagName, ObjectFactory *parent=NULL)
Definition: sequence.hh:50
ObjectFactory * parent()
Definition: parser.cc:230