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_;
Class that catch XML Parser events for a specific tag and build the corresponding Object.
Definition: parser.hh:85
Factory parsing sequence of values.
Definition: sequence.hh:48
std::vector< ValueType > OutType
Definition: sequence.hh:50
virtual void addTextChild(const XMLText *text)
Add Text child.
SequenceFactory(ObjectFactory *parent, const XMLElement *element, const int nbValue=-1)
Definition: sequence.hh:51
const OutType & values() const
Definition: sequence.hh:57
void readSequence(const std::string &str, Container &out, int size=-1)
tinyxml2::XMLElement XMLElement
Definition: parser.hh:43
tinyxml2::XMLText XMLText
Definition: parser.hh:47
Definition: ignoretag.hh:34