Lines Matching refs:conv

214     inline void appendChildren(NodeType *parent, const XmlNodeConverter<T> &conv,  in appendChildren()
217 appendChild(parent, conv(t, d)); in appendChildren()
279 inline bool parseChild(NodeType *root, const XmlNodeConverter<T> &conv, T *t) const { in parseChild()
280 NodeType *child = getChild(root, conv.elementName()); in parseChild()
282 … mLastError = "Could not find element with name <" + conv.elementName() + "> in element <" in parseChild()
286 bool success = conv.deserialize(t, child); in parseChild()
288 mLastError = conv.lastError(); in parseChild()
294 inline bool parseOptionalChild(NodeType *root, const XmlNodeConverter<T> &conv, in parseOptionalChild()
296 NodeType *child = getChild(root, conv.elementName()); in parseOptionalChild()
301 bool success = conv.deserialize(t, child); in parseOptionalChild()
303 mLastError = conv.lastError(); in parseOptionalChild()
309 …inline bool parseChildren(NodeType *root, const XmlNodeConverter<T> &conv, std::vector<T> *v) cons… in parseChildren()
310 auto nodes = getChildren(root, conv.elementName()); in parseChildren()
313 if (!conv.deserialize(&v->at(i), nodes[i])) { in parseChildren()
314 mLastError = "Could not parse element with name <" + conv.elementName() in parseChildren()
315 + "> in element <" + this->elementName() + ">: " + conv.lastError(); in parseChildren()
323 … inline bool parseChildren(NodeType *root, const XmlNodeConverter<T> &conv, std::set<T> *s) const { in parseChildren()
325 if (!parseChildren(root, conv, &vec)) { in parseChildren()
331 mLastError = "Duplicated elements <" + conv.elementName() + "> in element <" in parseChildren()