17 #ifndef HPP_UTIL_FACTORIES_SEQUENCE_HH
18 # define HPP_UTIL_FACTORIES_SEQUENCE_HH
35 template <
typename ValueType>
63 std::vector <ValueType> values_;
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
ObjectFactory * parent()
Definition: parser.cc:230
Factory parsing sequence of values.
Definition: sequence.hh:36
SequenceFactory(const std::string &tagName, ObjectFactory *parent=NULL)
Definition: sequence.hh:50
virtual void impl_write(XMLElement *element) const
Definition: sequence.cc:118
SequenceFactory(ObjectFactory *parent, const XMLElement *element, const unsigned int nbValue=0)
Definition: sequence.hh:39
const OutType & values() const
Definition: sequence.hh:45
std::vector< ValueType > OutType
Definition: sequence.hh:38
virtual void addTextChild(const XMLText *text)
Add Text child.
Definition: sequence.cc:97
void values(const OutType &v)
Definition: sequence.hh:54
TiXmlText XMLText
Definition: parser.hh:36
TiXmlElement XMLElement
Definition: parser.hh:31
Definition: assertion.hh:23