## Class comment

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

## Synopsis

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

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

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

## Description

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

1.     comment();

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

### `comment` public member functions

1.     virtual std::string str() const;

   return all content concatenated, including that of children.

2.     virtual std::string text() const;

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

4.     virtual void write(writer & w) const;

   writing out

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

   Compare the node with n.

6.     virtual node * clone() const;

   Deep clone the node.