<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>libxml++: xmlpp::ContentNode Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.8 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespacexmlpp.html">xmlpp</a>::<a class="el" href="classxmlpp_1_1ContentNode.html">ContentNode</a> </div> </div> <div class="contents"> <h1>xmlpp::ContentNode Class Reference</h1><!-- doxytag: class="xmlpp::ContentNode" --><!-- doxytag: inherits="xmlpp::Node" -->Content <a class="el" href="classxmlpp_1_1Node.html" title="Represents XML Nodes.">Node</a>. <a href="#_details">More...</a> <p> <div class="dynheader"> Inheritance diagram for xmlpp::ContentNode:</div> <div class="dynsection"> <p><center><img src="classxmlpp_1_1ContentNode__inherit__graph.jpg" border="0" usemap="#xmlpp_1_1ContentNode__inherit__map" alt="Inheritance graph"></center> <map name="xmlpp_1_1ContentNode__inherit__map"> <area shape="rect" href="classxmlpp_1_1CdataNode.html" title="CData node." alt="" coords="575,5,703,32"><area shape="rect" href="classxmlpp_1_1CommentNode.html" title="Comment Node." alt="" coords="564,56,713,83"><area shape="rect" href="classxmlpp_1_1ProcessingInstructionNode.html" title="xmlpp::ProcessingInstructionNode" alt="" coords="529,107,748,133"><area shape="rect" href="classxmlpp_1_1TextNode.html" title="Text Node." alt="" coords="579,157,699,184"><area shape="rect" href="classxmlpp_1_1Node.html" title="Represents XML Nodes." alt="" coords="196,81,289,108"><area shape="rect" href="classxmlpp_1_1NonCopyable.html" title="Herited by classes which cannot be copied." alt="" coords="5,81,147,108"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classxmlpp_1_1ContentNode-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1ContentNode.html#f9fcf3459cdc338ffe51c09006487c3e">ContentNode</a> (_xmlNode *node)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1ContentNode.html#695769ae0499d8e4831e0465f8e67838">~ContentNode</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1ContentNode.html#dd25e879109b4481281ccb876e684819">get_content</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the text of this content node. <a href="#dd25e879109b4481281ccb876e684819"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1ContentNode.html#2e9978caa82eb11cadccd4d5fc4e690a">set_content</a> (const Glib::ustring &content)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the text of this content node. <a href="#2e9978caa82eb11cadccd4d5fc4e690a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbool.html">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1ContentNode.html#b032b4eff400d958ffbe57516bdb7f93">is_white_space</a> () const </td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Content <a class="el" href="classxmlpp_1_1Node.html" title="Represents XML Nodes.">Node</a>. <p> This will be instantiated by the parser. <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="f9fcf3459cdc338ffe51c09006487c3e"></a><!-- doxytag: member="xmlpp::ContentNode::ContentNode" ref="f9fcf3459cdc338ffe51c09006487c3e" args="(_xmlNode *node)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">xmlpp::ContentNode::ContentNode </td> <td>(</td> <td class="paramtype">_xmlNode * </td> <td class="paramname"> <em>node</em> </td> <td> ) </td> <td><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="695769ae0499d8e4831e0465f8e67838"></a><!-- doxytag: member="xmlpp::ContentNode::~ContentNode" ref="695769ae0499d8e4831e0465f8e67838" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual xmlpp::ContentNode::~ContentNode </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="dd25e879109b4481281ccb876e684819"></a><!-- doxytag: member="xmlpp::ContentNode::get_content" ref="dd25e879109b4481281ccb876e684819" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Glib::ustring xmlpp::ContentNode::get_content </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p> Get the text of this content node. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The text. Note that the 5 predefined entities (&, ", <, &qt, ') are always resolved, so this content will show their human-readable equivalents. </dd></dl> </div> </div><p> <a class="anchor" name="b032b4eff400d958ffbe57516bdb7f93"></a><!-- doxytag: member="xmlpp::ContentNode::is_white_space" ref="b032b4eff400d958ffbe57516bdb7f93" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classbool.html">bool</a> xmlpp::ContentNode::is_white_space </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>Whether this node contains only white space, or is empty. </dd></dl> </div> </div><p> <a class="anchor" name="2e9978caa82eb11cadccd4d5fc4e690a"></a><!-- doxytag: member="xmlpp::ContentNode::set_content" ref="2e9978caa82eb11cadccd4d5fc4e690a" args="(const Glib::ustring &content)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void xmlpp::ContentNode::set_content </td> <td>(</td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"> <em>content</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Set the text of this content node. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>content</em> </td><td>The text. This must be unescaped, meaning that the predefined entities will be created for you where necessary. See <a class="el" href="classxmlpp_1_1ContentNode.html#dd25e879109b4481281ccb876e684819" title="Get the text of this content node.">get_content()</a>. </td></tr> </table> </dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="contentnode_8h.html">contentnode.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 27 17:07:25 2009 for libxml++ by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> </body> </html>