PrevUpHomeNext

Class root_node

zeep::xml::root_node

Synopsis

// In header: </build/libzeep-jMCJdD/libzeep-3.0.5/zeep/xml/node.hpp>


class root_node : public zeep::xml::container {
public:
  // construct/copy/destruct
  root_node();
  ~root_node();

  // public member functions
  virtual root_node * root();
  virtual const root_node * root() const;
  element * child_element() const;
  void child_element(element *);
  virtual std::string str() const;
  virtual void append(node *);
  virtual void write(writer &) const;
  virtual bool equals(const node *) const;
};

Description

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 construct/copy/destruct

  1. root_node();
  2. ~root_node();

root_node public member functions

  1. virtual root_node * root();
    The root node for this node.
  2. virtual const root_node * root() const;
    The root node for this node.
  3. element * child_element() const;
  4. void child_element(element * e);
  5. virtual std::string str() const;
    return all content concatenated, including that of children.
  6. virtual void append(node * n);
  7. virtual void write(writer & w) const;
    writing out
  8. virtual bool equals(const node * n) const;
    Compare the node with n.

PrevUpHomeNext