libzeep

PrevUpHomeNext

Class cdata

zeep::xml::cdata

Synopsis

// In header: <zeep/xml/node.hpp>


class cdata : public  {
public:
  // construct/copy/destruct
  ();
  (cdata &&) ;
  ();

  // public member functions
   (node *) ;
  node * () ;
  node * ();

  // protected member functions
   (, format_info) ;
};

Description

A node containing the contents of a CDATA section. Normally, these nodes are converted to text nodes but you can specify to preserve them when parsing a document.

cdata public construct/copy/destruct

  1. ();
  2. (cdata && cd) ;
  3. ( s);

cdata public member functions

  1.  (node * n) ;
    compare nodes for equality
  2. node * () ;
    return an exact copy of this node, including all data in sub nodes
  3. node * ();

    return a copy of this node, including all data in sub nodes, but in contrast with clone the data is moved from this node to the cloned node. This node will be empty afterwards.

cdata protected member functions

  1.  ( os, format_info fmt) ;
    low level routine for writing out XML

    This method is usually called by operator<<(std::ostream&, zeep::xml::document&)


PrevUpHomeNext