zeep::xml::text — A node containing text.
// In header: </home/maarten/projects/libzeep/zeep/xml/node.hpp> class text : public zeep::xml::node { public: // construct/copy/destruct text(); text(const std::string &); // public member functions std::string str() const; void str(const std::string &); void write_content(std::ostream &, const char * = kWhiteSpaceChar) const; void append(const std::string &); void write(writer &) const; bool equals(const node *) const; node * clone() const; };
text
public member functionsstd::string str() const;return all content concatenated, including that of children.
void str(const std::string & text);
void write_content(std::ostream & os, const char * sep = kWhiteSpaceChar) const;write out the concatenated content to a stream, separated by sep.
void append(const std::string & text);
void write(writer & w) const;writing out
bool equals(const node * n) const;Compare the node with n.
node * clone() const;Deep clone the node.