Lines Matching defs:XmlNodeConverter

130 struct XmlNodeConverter : public XmlConverter<Object> {  struct
131 XmlNodeConverter() {} in XmlNodeConverter() function
132 virtual ~XmlNodeConverter() {} in ~XmlNodeConverter()
140 inline const std::string &lastError() const { return mLastError; } in lastError()
141 inline NodeType *serialize(const Object &o, DocType *d) const { in serialize()
146 inline std::string serialize(const Object &o) const { in serialize()
153 inline bool deserialize(Object *object, NodeType *root) const { in deserialize()
159 inline bool deserialize(Object *o, const std::string &xml) const { in deserialize()
169 inline NodeType *operator()(const Object &o, DocType *d) const { in operator ()()
172 inline std::string operator()(const Object &o) const { in operator ()()
175 inline bool operator()(Object *o, NodeType *node) const { in operator ()()
178 inline bool operator()(Object *o, const std::string &xml) const { in operator ()()
186 inline void appendAttr(NodeType *e, const std::string &attrName, const T &attr) const { in appendAttr()
190 inline void appendAttr(NodeType *e, const std::string &attrName, bool attr) const { in appendAttr()
195 inline void appendTextElement(NodeType *parent, const std::string &name, in appendTextElement()
204 inline void appendTextElements(NodeType *parent, const std::string &name, in appendTextElements()
214 inline void appendChildren(NodeType *parent, const XmlNodeConverter<T> &conv, in appendChildren()
225 inline bool parseOptionalAttr(NodeType *root, const std::string &attrName, in parseOptionalAttr()
237 inline bool parseAttr(NodeType *root, const std::string &attrName, T *attr) const { in parseAttr()
247 inline bool parseAttr(NodeType *root, const std::string &attrName, std::string *attr) const { in parseAttr()
256 inline bool parseTextElement(NodeType *root, in parseTextElement()
268 inline bool parseTextElements(NodeType *root, const std::string &elementName, in parseTextElements()
279 inline bool parseChild(NodeType *root, const XmlNodeConverter<T> &conv, T *t) const { in parseChild()
294 inline bool parseOptionalChild(NodeType *root, const XmlNodeConverter<T> &conv, in parseOptionalChild()
309 …line bool parseChildren(NodeType *root, const XmlNodeConverter<T> &conv, std::vector<T> *v) const { in parseChildren()
323 … inline bool parseChildren(NodeType *root, const XmlNodeConverter<T> &conv, std::set<T> *s) const { in parseChildren()
339 inline bool parseText(NodeType *node, std::string *s) const { in parseText()
345 inline bool parseText(NodeType *node, T *s) const { in parseText()
354 mutable std::string mLastError;