## Class comment

zeep::xml::comment — A node containing a XML comment.

## Synopsis

    // In header: </home/maarten/projects/libzeep/zeep/xml/node.hpp>

    class comment : public zeep::xml::node {
    public:
      // construct/copy/destruct
      comment();
      comment(const std::string &);

      // public member functions
      std::string str() const;
      std::string text() const;
      void text(const std::string &);
      void write(writer &) const;
      bool equals(const node *) const;
      node * clone() const;
    };

## Description

### `comment` public construct/copy/destruct

1.     comment();

2.     comment(const std::string & text);

### `comment` public member functions

1.     std::string str() const;

   return all content concatenated, including that of children.

2.     std::string text() const;

3.     void text(const std::string & text);

4.     void write(writer & w) const;

   writing out

5.     bool equals(const node * n) const;

   Compare the node with n.

6.     node * clone() const;

   Deep clone the node.