zeep::xml::text — A node containing text.
// In header: </build/libzeep-Jk45yF/libzeep-3.0.5/zeep/xml/node.hpp> class text : public zeep::xml::node { public: // construct/copy/destruct text(); text(const std::string &); // public member functions virtual std::string str() const; virtual void str(const std::string &); virtual void write_content(std::ostream &, const char * = kWhiteSpaceChar) const; void append(const std::string &); virtual void write(writer &) const; virtual bool equals(const node *) const; virtual node * clone() const; };
text
public member functionsvirtual std::string str() const;return all content concatenated, including that of children.
virtual void str(const std::string & value);both attribute and element implement str(const string&), others will throw
virtual 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);
virtual void write(writer & w) const;writing out
virtual bool equals(const node * n) const;Compare the node with n.
virtual node * clone() const;Deep clone the node.