zeep::xml::root_node
// In header: </home/maarten/projects/libzeep/zeep/xml/node.hpp> class root_node : public zeep::xml::container { public: // construct/copy/destruct root_node(); ~root_node(); // public member functions root_node * root(); const root_node * root() const; element * child_element() const; void child_element(element *); std::string str() const; void append(node *); void write(writer &) const; bool equals(const node *) const; };
All zeep::xml::document objects have exactly one zeep::xml::root_node member. root_node is a container with only one child element.
root_node
public member functionsroot_node * root();The root node for this node.
const root_node * root() const;The root node for this node.
element * child_element() const;
void child_element(element * e);
std::string str() const;return all content concatenated, including that of children.
void append(node * n);
void write(writer & w) const;writing out
bool equals(const node * n) const;Compare the node with n.