29 #ifndef HPP_MANIPULATION_PARSER_FACTORIES_SEQUENCE_HH 30 #define HPP_MANIPULATION_PARSER_FACTORIES_SEQUENCE_HH 35 namespace manipulation {
39 template <
typename Container>
40 void readSequence(
const std::string& str, Container& out,
int size = -1);
47 template <
typename ValueType>
52 const int nbValue = -1)
60 std::vector<ValueType> values_;
69 #endif // HPP_MANIPULATION_PARSER_FACTORIES_SEQUENCE_HH tinyxml2::XMLElement XMLElement
Definition: parser.hh:43
void readSequence(const std::string &str, Container &out, int size=-1)
std::vector< ValueType > OutType
Definition: sequence.hh:50
virtual void addTextChild(const XMLText *text)
Add Text child.
Definition: ignoretag.hh:34
tinyxml2::XMLText XMLText
Definition: parser.hh:47
const OutType & values() const
Definition: sequence.hh:57
SequenceFactory(ObjectFactory *parent, const XMLElement *element, const int nbValue=-1)
Definition: sequence.hh:51
Factory parsing sequence of values.
Definition: sequence.hh:48
Class that catch XML Parser events for a specific tag and build the corresponding Object...
Definition: parser.hh:85