<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: iDocumentNode Struct Reference (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</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> <h1>iDocumentNode Struct Reference<br> <small> [<a class="el" href="group__util.html">Utilities</a>]</small> </h1><!-- doxytag: class="iDocumentNode" --><!-- doxytag: inherits="iBase" -->Representation of a node in a document. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="document_8h-source.html">iutil/document.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for iDocumentNode:</div> <div class="dynsection"> <p><center><img src="structiDocumentNode__inherit__graph.png" border="0" usemap="#iDocumentNode__inherit__map" alt="Inheritance graph"></center> <map name="iDocumentNode__inherit__map"> <area shape="rect" href="classscfImplementation1.html" title="scfImplementation1\< csDocumentNodeCommon, iDocumentNode \>" alt="" coords="53,161,523,188"><area shape="rect" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one..." alt="" coords="260,7,316,33"><area shape="rect" href="classcsDocumentNodeCommon.html" title="Partial iDocumentNode implementation with commonly duplicated logic." alt="" coords="189,239,387,265"><area shape="rect" href="classscfImplementationExt0.html" title="scfImplementationExt0\< csDocumentNodeReadOnly, csDocumentNodeCommon \>" alt="" coords="5,316,571,343"><area shape="rect" href="classcsDocumentNodeReadOnly.html" title="Partial iDocumentNode implementation with commonly duplicated logic and dummy implementations..." alt="" coords="188,393,388,420"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="structiDocumentNode-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">virtual <a class="el" href="classcsRef.html">csRef</a><br> < <a class="el" href="structiDocumentNode.html">iDocumentNode</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#d0ce2e3bb16086e54fb1b48d2a14b10c">CreateNodeBefore</a> (<a class="el" href="group__util.html#gb42cea72c57ecad9c3d599a08bce4475">csDocumentNodeType</a> type, <a class="el" href="structiDocumentNode.html">iDocumentNode</a> *before=0)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new node of the given type before the given node. <a href="#d0ce2e3bb16086e54fb1b48d2a14b10c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#30e738959ed68b1ab8e942ff335d67d3">Equals</a> (<a class="el" href="structiDocumentNode.html">iDocumentNode</a> *other)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Compare this node with another node. <a href="#30e738959ed68b1ab8e942ff335d67d3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsRef.html">csRef</a><br> < <a class="el" href="structiDocumentAttribute.html">iDocumentAttribute</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#86b59398e8193b41ace0f05092fd44e3">GetAttribute</a> (const char *name)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an attribute by name. <a href="#86b59398e8193b41ace0f05092fd44e3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsRef.html">csRef</a><br> < <a class="el" href="structiDocumentAttributeIterator.html">iDocumentAttributeIterator</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#9463d8ca1424ab5445dfb3ca17ead61d">GetAttributes</a> ()=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an iterator over all attributes. <a href="#9463d8ca1424ab5445dfb3ca17ead61d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#41651de583fb1c5956450c4c9664482b">GetAttributeValue</a> (const char *name)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an attribute value by name as a string. <a href="#41651de583fb1c5956450c4c9664482b"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#69940b2e70c1d09ca2078eb3e66b7e0c">GetAttributeValueAsBool</a> (const char *name, bool defaultvalue=false)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an attribute value by name as a bool. <a href="#69940b2e70c1d09ca2078eb3e66b7e0c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#29e14141c0a083af47a93742e8a9dab7">GetAttributeValueAsFloat</a> (const char *name)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an attribute value by name as a floating point value. <a href="#29e14141c0a083af47a93742e8a9dab7"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#62a20d58cbceb33904990ac32d60bf99">GetAttributeValueAsInt</a> (const char *name)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an attribute value by name as an integer. <a href="#62a20d58cbceb33904990ac32d60bf99"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#a6b07daa8d45431b7db26cdb3cab2907">GetContentsValue</a> ()=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the value of a node. <a href="#a6b07daa8d45431b7db26cdb3cab2907"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#aadde1fe5f529891c4b330f81f04c8f5">GetContentsValueAsFloat</a> ()=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the value of a node as float. <a href="#aadde1fe5f529891c4b330f81f04c8f5"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#1b596cb445c5f3359af7eec7a58c5c35">GetContentsValueAsInt</a> ()=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the value of a node as an integer. <a href="#1b596cb445c5f3359af7eec7a58c5c35"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsRef.html">csRef</a><br> < <a class="el" href="structiDocumentNode.html">iDocumentNode</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#77e9924d8e13f97d685ac19c040f613e">GetNode</a> (const char *value)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the first node of the given value. <a href="#77e9924d8e13f97d685ac19c040f613e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsRef.html">csRef</a><br> < <a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#6b1bcf5b03214a5bd5ef965c7e82e352">GetNodes</a> (const char *value)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an iterator over all children of the specified value. <a href="#6b1bcf5b03214a5bd5ef965c7e82e352"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsRef.html">csRef</a><br> < <a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#e458462ca2357d0fd96fc9c31492bdcc">GetNodes</a> ()=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get an iterator over all children. <a href="#e458462ca2357d0fd96fc9c31492bdcc"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsRef.html">csRef</a><br> < <a class="el" href="structiDocumentNode.html">iDocumentNode</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#746c9ddc20fb873f5e506c3073ab3942">GetParent</a> ()=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the parent. <a href="#746c9ddc20fb873f5e506c3073ab3942"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <br> <a class="el" href="group__util.html#gb42cea72c57ecad9c3d599a08bce4475">csDocumentNodeType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#01bdda169c7e67a2427fdc745c29d980">GetType</a> ()=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the type of this node (one of CS_NODE_. <a href="#01bdda169c7e67a2427fdc745c29d980"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#001037e1e4e663de3425b5f2da4bb3bb">GetValue</a> ()=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the value of this node. <a href="#001037e1e4e663de3425b5f2da4bb3bb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#87569d3d384e77e9521d5ab018033671">RemoveAttribute</a> (const <a class="el" href="classcsRef.html">csRef</a>< <a class="el" href="structiDocumentAttribute.html">iDocumentAttribute</a> > &attr)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove an attribute. <a href="#87569d3d384e77e9521d5ab018033671"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#16d15130c08cb83ba113b3dc8f14e658">RemoveAttributes</a> ()=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove all attributes. <a href="#16d15130c08cb83ba113b3dc8f14e658"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#66a3dc2b5163a6323c0aeab989929112">RemoveNode</a> (const <a class="el" href="classcsRef.html">csRef</a>< <a class="el" href="structiDocumentNode.html">iDocumentNode</a> > &child)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove a child. <a href="#66a3dc2b5163a6323c0aeab989929112"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#d2cf284535c1d53966779b58383a2b8c">RemoveNodes</a> ()=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove all children. <a href="#d2cf284535c1d53966779b58383a2b8c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#e74d9d743192f8bad8cff37ef057b63a">RemoveNodes</a> (<a class="el" href="classcsRef.html">csRef</a>< <a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a> > children)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Remove all children returned by iterator. <a href="#e74d9d743192f8bad8cff37ef057b63a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#bee95c0bdfcdb6f1faf80d0ad0a67b54">SetAttribute</a> (const char *name, const char *value)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Change or add an attribute. <a href="#bee95c0bdfcdb6f1faf80d0ad0a67b54"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#bc2d86689d6d2f3633079315543f2c0a">SetAttributeAsFloat</a> (const char *name, float value)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Change or add an attribute to a string representation of a float. <a href="#bc2d86689d6d2f3633079315543f2c0a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#b6f5406b4001af7eff706a69c176a4d3">SetAttributeAsInt</a> (const char *name, int value)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Change or add an attribute to a string representation of an integer. <a href="#b6f5406b4001af7eff706a69c176a4d3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#bd592bb2346da560dbbe5f0c98bc60ff">SetValue</a> (const char *value)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the value of this node. <a href="#bd592bb2346da560dbbe5f0c98bc60ff"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#1994b56c06980134d9a49487bf578dc9">SetValueAsFloat</a> (float value)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set value to the string representation of a float. <a href="#1994b56c06980134d9a49487bf578dc9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structiDocumentNode.html#b501e17db6ec2e58f42b9d1f5db5da7b">SetValueAsInt</a> (int value)=0</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set value to the string representation of an integer. <a href="#b501e17db6ec2e58f42b9d1f5db5da7b"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Representation of a node in a document. <p> Main creators of instances implementing this interface:<ul> <li><a class="el" href="structiDocument.html#e16013f5679cfcd6ed7a23797b7c76de" title="Create a root node. This will clear the previous root node if any.">iDocument::CreateRoot()</a></li><li><a class="el" href="structiDocumentNode.html#d0ce2e3bb16086e54fb1b48d2a14b10c" title="Create a new node of the given type before the given node.">iDocumentNode::CreateNodeBefore()</a></li></ul> <p> Main ways to get pointers to this interface:<ul> <li><a class="el" href="structiDocument.html#60039523bba5207661cd04e89fd996cc" title="Get the current root node.">iDocument::GetRoot()</a></li><li><a class="el" href="structiDocumentNode.html#77e9924d8e13f97d685ac19c040f613e" title="Get the first node of the given value.">iDocumentNode::GetNode()</a></li><li><a class="el" href="structiDocumentNode.html#746c9ddc20fb873f5e506c3073ab3942" title="Get the parent.">iDocumentNode::GetParent()</a></li><li><a class="el" href="structiDocumentNodeIterator.html#02894065434c2f3258dcffd4437ef460" title="Get next element.">iDocumentNodeIterator::Next()</a> </li></ul> <p>Definition at line <a class="el" href="document_8h-source.html#l00180">180</a> of file <a class="el" href="document_8h-source.html">document.h</a>.</p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="d0ce2e3bb16086e54fb1b48d2a14b10c"></a><!-- doxytag: member="iDocumentNode::CreateNodeBefore" ref="d0ce2e3bb16086e54fb1b48d2a14b10c" args="(csDocumentNodeType type, iDocumentNode *before=0)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classcsRef.html">csRef</a><<a class="el" href="structiDocumentNode.html">iDocumentNode</a>> iDocumentNode::CreateNodeBefore </td> <td>(</td> <td class="paramtype"><a class="el" href="group__util.html#gb42cea72c57ecad9c3d599a08bce4475">csDocumentNodeType</a> </td> <td class="paramname"> <em>type</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structiDocumentNode.html">iDocumentNode</a> * </td> <td class="paramname"> <em>before</em> = <code>0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create a new node of the given type before the given node. <p> If the given node is 0 then it will be added at the end. Returns the new node or 0 if the given type is not valid (CS_NODE_DOCUMENT is not allowed here for example). <p>Implemented in <a class="el" href="classcsDocumentNodeReadOnly.html#5c24346c0a66f1bd6564601209dc6a3e">csDocumentNodeReadOnly</a>.</p> <p>Referenced by <a class="el" href="documenthelper_8h-source.html#l00196">CS::DocSystem::CloneNode()</a>.</p> </div> </div><p> <a class="anchor" name="30e738959ed68b1ab8e942ff335d67d3"></a><!-- doxytag: member="iDocumentNode::Equals" ref="30e738959ed68b1ab8e942ff335d67d3" args="(iDocumentNode *other)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool iDocumentNode::Equals </td> <td>(</td> <td class="paramtype"><a class="el" href="structiDocumentNode.html">iDocumentNode</a> * </td> <td class="paramname"> <em>other</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Compare this node with another node. <p> You have to use this function to compare document node objects as equality on the <a class="el" href="structiDocumentNode.html" title="Representation of a node in a document.">iDocumentNode</a> pointer itself doesn't work in all cases (<a class="el" href="structiDocumentNode.html" title="Representation of a node in a document.">iDocumentNode</a> is just a wrapper of the real node in some implementations). <dl class="remark" compact><dt><b>Remarks:</b></dt><dd>Does *not* check equality of contents! </dd></dl> </div> </div><p> <a class="anchor" name="86b59398e8193b41ace0f05092fd44e3"></a><!-- doxytag: member="iDocumentNode::GetAttribute" ref="86b59398e8193b41ace0f05092fd44e3" args="(const char *name)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classcsRef.html">csRef</a><<a class="el" href="structiDocumentAttribute.html">iDocumentAttribute</a>> iDocumentNode::GetAttribute </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get an attribute by name. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#a44a9548d4ce31d574e73697d701a6dc">csDocumentNodeCommon</a>.</p> <p>Referenced by <a class="el" href="documenthelper_8h-source.html#l00241">CS::DocSystem::NodeAttributeCompare::operator()()</a>.</p> </div> </div><p> <a class="anchor" name="9463d8ca1424ab5445dfb3ca17ead61d"></a><!-- doxytag: member="iDocumentNode::GetAttributes" ref="9463d8ca1424ab5445dfb3ca17ead61d" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classcsRef.html">csRef</a><<a class="el" href="structiDocumentAttributeIterator.html">iDocumentAttributeIterator</a>> iDocumentNode::GetAttributes </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get an iterator over all attributes. <p> <dl class="remark" compact><dt><b>Remarks:</b></dt><dd>Never returns 0. </dd></dl> <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#981013a726644b543d76549271f7f6e8">csDocumentNodeCommon</a>.</p> <p>Referenced by <a class="el" href="documenthelper_8h-source.html#l00181">CS::DocSystem::CloneAttributes()</a>.</p> </div> </div><p> <a class="anchor" name="41651de583fb1c5956450c4c9664482b"></a><!-- doxytag: member="iDocumentNode::GetAttributeValue" ref="41651de583fb1c5956450c4c9664482b" args="(const char *name)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* iDocumentNode::GetAttributeValue </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get an attribute value by name as a string. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#e40ab312fa6cafc72939f0f021bed5cb">csDocumentNodeCommon</a>.</p> <p>Referenced by <a class="el" href="documenthelper_8h-source.html#l00317">CS::DocSystem::NodeAttributeRegexpTest::operator()()</a>, and <a class="el" href="documenthelper_8h-source.html#l00291">CS::DocSystem::NodeAttributeValueTest::operator()()</a>.</p> </div> </div><p> <a class="anchor" name="69940b2e70c1d09ca2078eb3e66b7e0c"></a><!-- doxytag: member="iDocumentNode::GetAttributeValueAsBool" ref="69940b2e70c1d09ca2078eb3e66b7e0c" args="(const char *name, bool defaultvalue=false)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool iDocumentNode::GetAttributeValueAsBool </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>defaultvalue</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get an attribute value by name as a bool. <p> "yes", "true", and "1" all are returned as true. <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#4983a241756a0ba6256d7f40b2f79d17">csDocumentNodeCommon</a>.</p> </div> </div><p> <a class="anchor" name="29e14141c0a083af47a93742e8a9dab7"></a><!-- doxytag: member="iDocumentNode::GetAttributeValueAsFloat" ref="29e14141c0a083af47a93742e8a9dab7" args="(const char *name)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual float iDocumentNode::GetAttributeValueAsFloat </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get an attribute value by name as a floating point value. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#40f1100c8d06a96160c02d496b7bf700">csDocumentNodeCommon</a>.</p> </div> </div><p> <a class="anchor" name="62a20d58cbceb33904990ac32d60bf99"></a><!-- doxytag: member="iDocumentNode::GetAttributeValueAsInt" ref="62a20d58cbceb33904990ac32d60bf99" args="(const char *name)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int iDocumentNode::GetAttributeValueAsInt </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get an attribute value by name as an integer. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#8d5cae0d92878e97df8d937baa832da9">csDocumentNodeCommon</a>.</p> </div> </div><p> <a class="anchor" name="a6b07daa8d45431b7db26cdb3cab2907"></a><!-- doxytag: member="iDocumentNode::GetContentsValue" ref="a6b07daa8d45431b7db26cdb3cab2907" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* iDocumentNode::GetContentsValue </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the value of a node. <p> Scans all child nodes and looks for a node of type 'text', and returns the text of that node. WARNING! Make a copy of this text if you intend to use it later. The document parsing system does not guarantee anything about the lifetime of the returned string. <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#a48ede1773e9d5fcc274bd3850e4eee3">csDocumentNodeCommon</a>.</p> </div> </div><p> <a class="anchor" name="aadde1fe5f529891c4b330f81f04c8f5"></a><!-- doxytag: member="iDocumentNode::GetContentsValueAsFloat" ref="aadde1fe5f529891c4b330f81f04c8f5" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual float iDocumentNode::GetContentsValueAsFloat </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the value of a node as float. <p> Scans all child nodes and looks for a node of type 'text', converts the text of that node to a number and returns the represented floating point value. <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#df1da6ef70c442020fda2270b39dc0d8">csDocumentNodeCommon</a>.</p> </div> </div><p> <a class="anchor" name="1b596cb445c5f3359af7eec7a58c5c35"></a><!-- doxytag: member="iDocumentNode::GetContentsValueAsInt" ref="1b596cb445c5f3359af7eec7a58c5c35" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int iDocumentNode::GetContentsValueAsInt </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the value of a node as an integer. <p> Scans all child nodes and looks for a node of type 'text', converts the text of that node to a number and returns the represented integer. <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#5fca5e4f4adbc98de44c0a15be731fb1">csDocumentNodeCommon</a>.</p> </div> </div><p> <a class="anchor" name="77e9924d8e13f97d685ac19c040f613e"></a><!-- doxytag: member="iDocumentNode::GetNode" ref="77e9924d8e13f97d685ac19c040f613e" args="(const char *value)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classcsRef.html">csRef</a><<a class="el" href="structiDocumentNode.html">iDocumentNode</a>> iDocumentNode::GetNode </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>value</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the first node of the given value. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#ebf27711b5b74711370c7a2ad960c024">csDocumentNodeCommon</a>.</p> </div> </div><p> <a class="anchor" name="6b1bcf5b03214a5bd5ef965c7e82e352"></a><!-- doxytag: member="iDocumentNode::GetNodes" ref="6b1bcf5b03214a5bd5ef965c7e82e352" args="(const char *value)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classcsRef.html">csRef</a><<a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a>> iDocumentNode::GetNodes </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>value</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get an iterator over all children of the specified value. <p> <dl class="remark" compact><dt><b>Remarks:</b></dt><dd>Never returns 0. </dd></dl> <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#3f0647e72ccb898f63303ba4d9cfdb9a">csDocumentNodeCommon</a>.</p> </div> </div><p> <a class="anchor" name="e458462ca2357d0fd96fc9c31492bdcc"></a><!-- doxytag: member="iDocumentNode::GetNodes" ref="e458462ca2357d0fd96fc9c31492bdcc" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classcsRef.html">csRef</a><<a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a>> iDocumentNode::GetNodes </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get an iterator over all children. <p> <dl class="remark" compact><dt><b>Remarks:</b></dt><dd>Never returns 0. </dd></dl> <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#702d178bee5637118ebdf9c0d3ba8ebe">csDocumentNodeCommon</a>.</p> <p>Referenced by <a class="el" href="documenthelper_8h-source.html#l00196">CS::DocSystem::CloneNode()</a>, and <a class="el" href="documenthelper_8h-source.html#l00115">CS::DocSystem::RemoveDuplicateChildren()</a>.</p> </div> </div><p> <a class="anchor" name="746c9ddc20fb873f5e506c3073ab3942"></a><!-- doxytag: member="iDocumentNode::GetParent" ref="746c9ddc20fb873f5e506c3073ab3942" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classcsRef.html">csRef</a><<a class="el" href="structiDocumentNode.html">iDocumentNode</a>> iDocumentNode::GetParent </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the parent. <p> </div> </div><p> <a class="anchor" name="01bdda169c7e67a2427fdc745c29d980"></a><!-- doxytag: member="iDocumentNode::GetType" ref="01bdda169c7e67a2427fdc745c29d980" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="group__util.html#gb42cea72c57ecad9c3d599a08bce4475">csDocumentNodeType</a> iDocumentNode::GetType </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the type of this node (one of CS_NODE_. <p> ..). <p>Referenced by <a class="el" href="documenthelper_8h-source.html#l00241">CS::DocSystem::NodeAttributeCompare::operator()()</a>, and <a class="el" href="documenthelper_8h-source.html#l00218">CS::DocSystem::NodeNameCompare::operator()()</a>.</p> </div> </div><p> <a class="anchor" name="001037e1e4e663de3425b5f2da4bb3bb"></a><!-- doxytag: member="iDocumentNode::GetValue" ref="001037e1e4e663de3425b5f2da4bb3bb" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* iDocumentNode::GetValue </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the value of this node. <p> What this is depends on the type of the node:<ul> <li><a class="el" href="group__util.html#ggb42cea72c57ecad9c3d599a08bce447587aa64598ca24086ef7aa248c3b2a022" title="Document.">CS_NODE_DOCUMENT</a>: filename of the document file</li><li><a class="el" href="group__util.html#ggb42cea72c57ecad9c3d599a08bce4475212c9193091765b634952bebe349b2a5" title="Element.">CS_NODE_ELEMENT</a>: name of the element</li><li><a class="el" href="group__util.html#ggb42cea72c57ecad9c3d599a08bce44752de9af618a539fff83a7a818685ee33a" title="Comment.">CS_NODE_COMMENT</a>: comment text</li><li><a class="el" href="group__util.html#ggb42cea72c57ecad9c3d599a08bce44752173bc6ac8c0671e1191583e896a0176" title="Unknown type.">CS_NODE_UNKNOWN</a>: tag contents</li><li><a class="el" href="group__util.html#ggb42cea72c57ecad9c3d599a08bce4475acda242ee76ec9e6e6181ddbb6b57223" title="Text.">CS_NODE_TEXT</a>: text string</li><li><a class="el" href="group__util.html#ggb42cea72c57ecad9c3d599a08bce4475500867fdafb6f33dbe60701f8336ce2e" title="Declaration.">CS_NODE_DECLARATION</a>: undefined </li></ul> <p>Referenced by <a class="el" href="documenthelper_8h-source.html#l00196">CS::DocSystem::CloneNode()</a>, <a class="el" href="documenthelper_8h-source.html#l00270">CS::DocSystem::NodeValueTest::operator()()</a>, and <a class="el" href="documenthelper_8h-source.html#l00218">CS::DocSystem::NodeNameCompare::operator()()</a>.</p> </div> </div><p> <a class="anchor" name="87569d3d384e77e9521d5ab018033671"></a><!-- doxytag: member="iDocumentNode::RemoveAttribute" ref="87569d3d384e77e9521d5ab018033671" args="(const csRef< iDocumentAttribute > &attr)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iDocumentNode::RemoveAttribute </td> <td>(</td> <td class="paramtype">const <a class="el" href="classcsRef.html">csRef</a>< <a class="el" href="structiDocumentAttribute.html">iDocumentAttribute</a> > & </td> <td class="paramname"> <em>attr</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Remove an attribute. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeReadOnly.html#3a2b2ff902b19c8ac056286afd92b5ec">csDocumentNodeReadOnly</a>.</p> </div> </div><p> <a class="anchor" name="16d15130c08cb83ba113b3dc8f14e658"></a><!-- doxytag: member="iDocumentNode::RemoveAttributes" ref="16d15130c08cb83ba113b3dc8f14e658" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iDocumentNode::RemoveAttributes </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Remove all attributes. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeReadOnly.html#48a081aa55d978315ed8a2c96d81ff6d">csDocumentNodeReadOnly</a>.</p> </div> </div><p> <a class="anchor" name="66a3dc2b5163a6323c0aeab989929112"></a><!-- doxytag: member="iDocumentNode::RemoveNode" ref="66a3dc2b5163a6323c0aeab989929112" args="(const csRef< iDocumentNode > &child)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iDocumentNode::RemoveNode </td> <td>(</td> <td class="paramtype">const <a class="el" href="classcsRef.html">csRef</a>< <a class="el" href="structiDocumentNode.html">iDocumentNode</a> > & </td> <td class="paramname"> <em>child</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Remove a child. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeReadOnly.html#210871659cee6be5ef160b71d0777d9a">csDocumentNodeReadOnly</a>.</p> <p>Referenced by <a class="el" href="documenthelper_8h-source.html#l00128">CS::DocSystem::RemoveDuplicateChildren()</a>.</p> </div> </div><p> <a class="anchor" name="d2cf284535c1d53966779b58383a2b8c"></a><!-- doxytag: member="iDocumentNode::RemoveNodes" ref="d2cf284535c1d53966779b58383a2b8c" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iDocumentNode::RemoveNodes </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Remove all children. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeReadOnly.html#bd79b2fb3786ef9908b6fb1cc2650540">csDocumentNodeReadOnly</a>.</p> </div> </div><p> <a class="anchor" name="e74d9d743192f8bad8cff37ef057b63a"></a><!-- doxytag: member="iDocumentNode::RemoveNodes" ref="e74d9d743192f8bad8cff37ef057b63a" args="(csRef< iDocumentNodeIterator > children)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iDocumentNode::RemoveNodes </td> <td>(</td> <td class="paramtype"><a class="el" href="classcsRef.html">csRef</a>< <a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a> > </td> <td class="paramname"> <em>children</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Remove all children returned by iterator. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeReadOnly.html#6367f9a869a4454dd43d7ad7f273feb6">csDocumentNodeReadOnly</a>.</p> </div> </div><p> <a class="anchor" name="bee95c0bdfcdb6f1faf80d0ad0a67b54"></a><!-- doxytag: member="iDocumentNode::SetAttribute" ref="bee95c0bdfcdb6f1faf80d0ad0a67b54" args="(const char *name, const char *value)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iDocumentNode::SetAttribute </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Change or add an attribute. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeReadOnly.html#664c303e10e4486d50b1c6e87d14b602">csDocumentNodeReadOnly</a>.</p> <p>Referenced by <a class="el" href="documenthelper_8h-source.html#l00181">CS::DocSystem::CloneAttributes()</a>.</p> </div> </div><p> <a class="anchor" name="bc2d86689d6d2f3633079315543f2c0a"></a><!-- doxytag: member="iDocumentNode::SetAttributeAsFloat" ref="bc2d86689d6d2f3633079315543f2c0a" args="(const char *name, float value)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iDocumentNode::SetAttributeAsFloat </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Change or add an attribute to a string representation of a float. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#524e1b597120a901996c3b3938c24703">csDocumentNodeCommon</a>, and <a class="el" href="classcsDocumentNodeReadOnly.html#4f21233dc66fdfee82a23da1b062d102">csDocumentNodeReadOnly</a>.</p> </div> </div><p> <a class="anchor" name="b6f5406b4001af7eff706a69c176a4d3"></a><!-- doxytag: member="iDocumentNode::SetAttributeAsInt" ref="b6f5406b4001af7eff706a69c176a4d3" args="(const char *name, int value)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iDocumentNode::SetAttributeAsInt </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Change or add an attribute to a string representation of an integer. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#675c70fcf9d29d95db1d7a17700f59dd">csDocumentNodeCommon</a>, and <a class="el" href="classcsDocumentNodeReadOnly.html#0ad55d071d59511cb5e05a10588f60d8">csDocumentNodeReadOnly</a>.</p> </div> </div><p> <a class="anchor" name="bd592bb2346da560dbbe5f0c98bc60ff"></a><!-- doxytag: member="iDocumentNode::SetValue" ref="bd592bb2346da560dbbe5f0c98bc60ff" args="(const char *value)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iDocumentNode::SetValue </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>value</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the value of this node. <p> What this is depends on the type of the node:<ul> <li><a class="el" href="group__util.html#ggb42cea72c57ecad9c3d599a08bce447587aa64598ca24086ef7aa248c3b2a022" title="Document.">CS_NODE_DOCUMENT</a>: filename of the document file</li><li><a class="el" href="group__util.html#ggb42cea72c57ecad9c3d599a08bce4475212c9193091765b634952bebe349b2a5" title="Element.">CS_NODE_ELEMENT</a>: name of the element</li><li><a class="el" href="group__util.html#ggb42cea72c57ecad9c3d599a08bce44752de9af618a539fff83a7a818685ee33a" title="Comment.">CS_NODE_COMMENT</a>: comment text</li><li><a class="el" href="group__util.html#ggb42cea72c57ecad9c3d599a08bce44752173bc6ac8c0671e1191583e896a0176" title="Unknown type.">CS_NODE_UNKNOWN</a>: tag contents</li><li><a class="el" href="group__util.html#ggb42cea72c57ecad9c3d599a08bce4475acda242ee76ec9e6e6181ddbb6b57223" title="Text.">CS_NODE_TEXT</a>: text string</li><li><a class="el" href="group__util.html#ggb42cea72c57ecad9c3d599a08bce4475500867fdafb6f33dbe60701f8336ce2e" title="Declaration.">CS_NODE_DECLARATION</a>: undefined </li></ul> <p>Implemented in <a class="el" href="classcsDocumentNodeReadOnly.html#ed6918c8a4aa4f6162071d897631e80e">csDocumentNodeReadOnly</a>.</p> <p>Referenced by <a class="el" href="documenthelper_8h-source.html#l00196">CS::DocSystem::CloneNode()</a>.</p> </div> </div><p> <a class="anchor" name="1994b56c06980134d9a49487bf578dc9"></a><!-- doxytag: member="iDocumentNode::SetValueAsFloat" ref="1994b56c06980134d9a49487bf578dc9" args="(float value)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iDocumentNode::SetValueAsFloat </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"> <em>value</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set value to the string representation of a float. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#5fb9e5d4f63deab701cf886fb5a184d2">csDocumentNodeCommon</a>, and <a class="el" href="classcsDocumentNodeReadOnly.html#140d135396c5306954dbb1176e87ac70">csDocumentNodeReadOnly</a>.</p> </div> </div><p> <a class="anchor" name="b501e17db6ec2e58f42b9d1f5db5da7b"></a><!-- doxytag: member="iDocumentNode::SetValueAsInt" ref="b501e17db6ec2e58f42b9d1f5db5da7b" args="(int value)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void iDocumentNode::SetValueAsInt </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>value</em> </td> <td> ) </td> <td width="100%"><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set value to the string representation of an integer. <p> <p>Implemented in <a class="el" href="classcsDocumentNodeCommon.html#854ef443a6b341747e4370653ef05422">csDocumentNodeCommon</a>, and <a class="el" href="classcsDocumentNodeReadOnly.html#f4c9378cbe1eac665e4cd64828b7e70e">csDocumentNodeReadOnly</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>iutil/<a class="el" href="document_8h-source.html">document.h</a></ul> <hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>