29 #ifndef HPP_UTIL_FACTORIES_SEQUENCE_HH 30 #define HPP_UTIL_FACTORIES_SEQUENCE_HH 47 template <
typename ValueType>
52 const unsigned int nbValue = 0)
57 const OutType&
values()
const {
return values_; }
62 void values(
const OutType& v) { values_ = v; }
68 std::vector<ValueType> values_;
77 #endif // HPP_UTIL_FACTORIES_SEQUENCE_HH void values(const OutType &v)
Definition: sequence.hh:62
TiXmlText XMLText
Definition: parser.hh:48
Definition: assertion.hh:45
Class that catch XML Parser events for a specific tag and build the corresponding Object...
Definition: parser.hh:89
ObjectFactory * parent()
Definition: parser.cc:202
const OutType & values() const
Definition: sequence.hh:57
SequenceFactory(const std::string &tagName, ObjectFactory *parent=NULL)
Definition: sequence.hh:59
Factory parsing sequence of values.
Definition: sequence.hh:48
TiXmlElement XMLElement
Definition: parser.hh:43
std::string tagName() const
Definition: parser.cc:194
virtual void impl_write(XMLElement *element) const
Definition: sequence.cc:125
virtual void addTextChild(const XMLText *text)
Add Text child.
Definition: sequence.cc:105
SequenceFactory(ObjectFactory *parent, const XMLElement *element, const unsigned int nbValue=0)
Definition: sequence.hh:51
std::vector< ValueType > OutType
Definition: sequence.hh:50