Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 438

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!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: csDocumentNodeCommon Class 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&nbsp;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&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul>
</div>
<h1>csDocumentNodeCommon Class Reference</h1><!-- doxytag: class="csDocumentNodeCommon" --><!-- doxytag: inherits="scfImplementation1&lt; csDocumentNodeCommon, iDocumentNode &gt;" -->Partial <a class="el" href="structiDocumentNode.html" title="Representation of a node in a document.">iDocumentNode</a> implementation with commonly duplicated logic.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="documentcommon_8h-source.html">csutil/documentcommon.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for csDocumentNodeCommon:</div>
<div class="dynsection">
<p><center><img src="classcsDocumentNodeCommon__inherit__graph.png" border="0" usemap="#csDocumentNodeCommon__inherit__map" alt="Inheritance graph"></center>
<map name="csDocumentNodeCommon__inherit__map">
<area shape="rect" href="classscfImplementationExt0.html" title="scfImplementationExt0\&lt; csDocumentNodeReadOnly, csDocumentNodeCommon \&gt;" alt="" coords="28,316,593,343"><area shape="rect" href="classscfImplementation1.html" title="scfImplementation1\&lt; csDocumentNodeCommon, iDocumentNode \&gt;" alt="" coords="76,161,545,188"><area shape="rect" href="classscfImplementation.html" title="scfImplementation\&lt; csDocumentNodeCommon \&gt;" alt="" coords="5,84,355,111"><area shape="rect" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one..." alt="" coords="364,7,420,33"><area shape="rect" href="structiDocumentNode.html" title="Representation of a node in a document." alt="" coords="379,84,504,111"><area shape="rect" href="classCS_1_1Memory_1_1CustomAllocated.html" title="Class that overrides operator new/operator delete/etc." alt="" coords="69,7,291,33"><area shape="rect" href="classcsDocumentNodeReadOnly.html" title="Partial iDocumentNode implementation with commonly duplicated logic and dummy implementations..." alt="" coords="211,393,411,420"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classcsDocumentNodeCommon-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"><a class="anchor" name="701a18ccbb810caaa28733c471bbac97"></a><!-- doxytag: member="csDocumentNodeCommon::csDocumentNodeCommon" ref="701a18ccbb810caaa28733c471bbac97" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#701a18ccbb810caaa28733c471bbac97">csDocumentNodeCommon</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsRef.html">csRef</a><br>
&lt; <a class="el" href="structiDocumentAttribute.html">iDocumentAttribute</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#a44a9548d4ce31d574e73697d701a6dc">GetAttribute</a> (const char *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dummy implementation.  <a href="#a44a9548d4ce31d574e73697d701a6dc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsRef.html">csRef</a><br>
&lt; <a class="el" href="structiDocumentAttributeIterator.html">iDocumentAttributeIterator</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#981013a726644b543d76549271f7f6e8">GetAttributes</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return empty iterator.  <a href="#981013a726644b543d76549271f7f6e8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsRef.html">csRef</a><br>
&lt; <a class="el" href="structiDocumentNode.html">iDocumentNode</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#ebf27711b5b74711370c7a2ad960c024">GetNode</a> (const char *)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dummy implementation.  <a href="#ebf27711b5b74711370c7a2ad960c024"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsRef.html">csRef</a><br>
&lt; <a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#3f0647e72ccb898f63303ba4d9cfdb9a">GetNodes</a> (const char *value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return iterator wrapping around the one returned by <a class="el" href="classcsDocumentNodeCommon.html#702d178bee5637118ebdf9c0d3ba8ebe" title="Return empty iterator.">GetNodes()</a> and filtering for nodes with a value of <em>value</em>.  <a href="#3f0647e72ccb898f63303ba4d9cfdb9a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcsRef.html">csRef</a><br>
&lt; <a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#702d178bee5637118ebdf9c0d3ba8ebe">GetNodes</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return empty iterator.  <a href="#702d178bee5637118ebdf9c0d3ba8ebe"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#e40ab312fa6cafc72939f0f021bed5cb">GetAttributeValue</a> (const char *name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns value of an attribute.  <a href="#e40ab312fa6cafc72939f0f021bed5cb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#4983a241756a0ba6256d7f40b2f79d17">GetAttributeValueAsBool</a> (const char *name, bool defaultvalue=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns value of an attribute.  <a href="#4983a241756a0ba6256d7f40b2f79d17"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#40f1100c8d06a96160c02d496b7bf700">GetAttributeValueAsFloat</a> (const char *name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns value of an attribute.  <a href="#40f1100c8d06a96160c02d496b7bf700"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#8d5cae0d92878e97df8d937baa832da9">GetAttributeValueAsInt</a> (const char *name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns value of an attribute.  <a href="#8d5cae0d92878e97df8d937baa832da9"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#a48ede1773e9d5fcc274bd3850e4eee3">GetContentsValue</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns value of first child text node.  <a href="#a48ede1773e9d5fcc274bd3850e4eee3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#df1da6ef70c442020fda2270b39dc0d8">GetContentsValueAsFloat</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns value of first child text node.  <a href="#df1da6ef70c442020fda2270b39dc0d8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#5fca5e4f4adbc98de44c0a15be731fb1">GetContentsValueAsInt</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns value of first child text node.  <a href="#5fca5e4f4adbc98de44c0a15be731fb1"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#524e1b597120a901996c3b3938c24703">SetAttributeAsFloat</a> (const char *name, float value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Change or add an attribute to a string representation of a float.  <a href="#524e1b597120a901996c3b3938c24703"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#675c70fcf9d29d95db1d7a17700f59dd">SetAttributeAsInt</a> (const char *name, int value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts 'value' to a string and calls <a class="el" href="structiDocumentNode.html#bee95c0bdfcdb6f1faf80d0ad0a67b54" title="Change or add an attribute.">SetAttribute()</a> with it.  <a href="#675c70fcf9d29d95db1d7a17700f59dd"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#5fb9e5d4f63deab701cf886fb5a184d2">SetValueAsFloat</a> (float value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set value to the string representation of a float.  <a href="#5fb9e5d4f63deab701cf886fb5a184d2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsDocumentNodeCommon.html#854ef443a6b341747e4370653ef05422">SetValueAsInt</a> (int value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts 'value' to a string and calls <a class="el" href="structiDocumentNode.html#bd592bb2346da560dbbe5f0c98bc60ff" title="Set the value of this node.">SetValue()</a> with it.  <a href="#854ef443a6b341747e4370653ef05422"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Partial <a class="el" href="structiDocumentNode.html" title="Representation of a node in a document.">iDocumentNode</a> implementation with commonly duplicated logic. 
<p>Definition at line <a class="el" href="documentcommon_8h-source.html#l00069">69</a> of file <a class="el" href="documentcommon_8h-source.html">documentcommon.h</a>.</p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a44a9548d4ce31d574e73697d701a6dc"></a><!-- doxytag: member="csDocumentNodeCommon::GetAttribute" ref="a44a9548d4ce31d574e73697d701a6dc" args="(const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcsRef.html">csRef</a>&lt;<a class="el" href="structiDocumentAttribute.html">iDocumentAttribute</a>&gt; csDocumentNodeCommon::GetAttribute           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Dummy implementation. 
<p>

<p>Implements <a class="el" href="structiDocumentNode.html#86b59398e8193b41ace0f05092fd44e3">iDocumentNode</a>.</p>

<p>Definition at line <a class="el" href="documentcommon_8h-source.html#l00110">110</a> of file <a class="el" href="documentcommon_8h-source.html">documentcommon.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="981013a726644b543d76549271f7f6e8"></a><!-- doxytag: member="csDocumentNodeCommon::GetAttributes" ref="981013a726644b543d76549271f7f6e8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classcsRef.html">csRef</a>&lt;<a class="el" href="structiDocumentAttributeIterator.html">iDocumentAttributeIterator</a>&gt; csDocumentNodeCommon::GetAttributes           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return empty iterator. 
<p>

<p>Implements <a class="el" href="structiDocumentNode.html#9463d8ca1424ab5445dfb3ca17ead61d">iDocumentNode</a>.</p>

<p>Definition at line <a class="el" href="documentcommon_8h-source.html#l00103">103</a> of file <a class="el" href="documentcommon_8h-source.html">documentcommon.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="e40ab312fa6cafc72939f0f021bed5cb"></a><!-- doxytag: member="csDocumentNodeCommon::GetAttributeValue" ref="e40ab312fa6cafc72939f0f021bed5cb" args="(const char *name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* csDocumentNodeCommon::GetAttributeValue           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns value of an attribute. 
<p>

<p>Implements <a class="el" href="structiDocumentNode.html#41651de583fb1c5956450c4c9664482b">iDocumentNode</a>.</p>

</div>
</div><p>
<a class="anchor" name="4983a241756a0ba6256d7f40b2f79d17"></a><!-- doxytag: member="csDocumentNodeCommon::GetAttributeValueAsBool" ref="4983a241756a0ba6256d7f40b2f79d17" args="(const char *name, bool defaultvalue=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool csDocumentNodeCommon::GetAttributeValueAsBool           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>defaultvalue</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns value of an attribute. 
<p>

<p>Implements <a class="el" href="structiDocumentNode.html#69940b2e70c1d09ca2078eb3e66b7e0c">iDocumentNode</a>.</p>

</div>
</div><p>
<a class="anchor" name="40f1100c8d06a96160c02d496b7bf700"></a><!-- doxytag: member="csDocumentNodeCommon::GetAttributeValueAsFloat" ref="40f1100c8d06a96160c02d496b7bf700" args="(const char *name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float csDocumentNodeCommon::GetAttributeValueAsFloat           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns value of an attribute. 
<p>

<p>Implements <a class="el" href="structiDocumentNode.html#29e14141c0a083af47a93742e8a9dab7">iDocumentNode</a>.</p>

</div>
</div><p>
<a class="anchor" name="8d5cae0d92878e97df8d937baa832da9"></a><!-- doxytag: member="csDocumentNodeCommon::GetAttributeValueAsInt" ref="8d5cae0d92878e97df8d937baa832da9" args="(const char *name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int csDocumentNodeCommon::GetAttributeValueAsInt           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns value of an attribute. 
<p>

<p>Implements <a class="el" href="structiDocumentNode.html#62a20d58cbceb33904990ac32d60bf99">iDocumentNode</a>.</p>

</div>
</div><p>
<a class="anchor" name="a48ede1773e9d5fcc274bd3850e4eee3"></a><!-- doxytag: member="csDocumentNodeCommon::GetContentsValue" ref="a48ede1773e9d5fcc274bd3850e4eee3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* csDocumentNodeCommon::GetContentsValue           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns value of first child text node. 
<p>
Converts from a string if necessary. 
<p>Implements <a class="el" href="structiDocumentNode.html#a6b07daa8d45431b7db26cdb3cab2907">iDocumentNode</a>.</p>

</div>
</div><p>
<a class="anchor" name="df1da6ef70c442020fda2270b39dc0d8"></a><!-- doxytag: member="csDocumentNodeCommon::GetContentsValueAsFloat" ref="df1da6ef70c442020fda2270b39dc0d8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual float csDocumentNodeCommon::GetContentsValueAsFloat           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns value of first child text node. 
<p>
Converts from a string if necessary. 
<p>Implements <a class="el" href="structiDocumentNode.html#aadde1fe5f529891c4b330f81f04c8f5">iDocumentNode</a>.</p>

</div>
</div><p>
<a class="anchor" name="5fca5e4f4adbc98de44c0a15be731fb1"></a><!-- doxytag: member="csDocumentNodeCommon::GetContentsValueAsInt" ref="5fca5e4f4adbc98de44c0a15be731fb1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int csDocumentNodeCommon::GetContentsValueAsInt           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns value of first child text node. 
<p>
Converts from a string if necessary. 
<p>Implements <a class="el" href="structiDocumentNode.html#1b596cb445c5f3359af7eec7a58c5c35">iDocumentNode</a>.</p>

</div>
</div><p>
<a class="anchor" name="ebf27711b5b74711370c7a2ad960c024"></a><!-- doxytag: member="csDocumentNodeCommon::GetNode" ref="ebf27711b5b74711370c7a2ad960c024" args="(const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classcsRef.html">csRef</a>&lt;<a class="el" href="structiDocumentNode.html">iDocumentNode</a>&gt; csDocumentNodeCommon::GetNode           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Dummy implementation. 
<p>

<p>Implements <a class="el" href="structiDocumentNode.html#77e9924d8e13f97d685ac19c040f613e">iDocumentNode</a>.</p>

<p>Definition at line <a class="el" href="documentcommon_8h-source.html#l00089">89</a> of file <a class="el" href="documentcommon_8h-source.html">documentcommon.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="3f0647e72ccb898f63303ba4d9cfdb9a"></a><!-- doxytag: member="csDocumentNodeCommon::GetNodes" ref="3f0647e72ccb898f63303ba4d9cfdb9a" args="(const char *value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classcsRef.html">csRef</a>&lt;<a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a>&gt; csDocumentNodeCommon::GetNodes           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>value</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return iterator wrapping around the one returned by <a class="el" href="classcsDocumentNodeCommon.html#702d178bee5637118ebdf9c0d3ba8ebe" title="Return empty iterator.">GetNodes()</a> and filtering for nodes with a value of <em>value</em>. 
<p>

<p>Implements <a class="el" href="structiDocumentNode.html#6b1bcf5b03214a5bd5ef965c7e82e352">iDocumentNode</a>.</p>

</div>
</div><p>
<a class="anchor" name="702d178bee5637118ebdf9c0d3ba8ebe"></a><!-- doxytag: member="csDocumentNodeCommon::GetNodes" ref="702d178bee5637118ebdf9c0d3ba8ebe" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classcsRef.html">csRef</a>&lt;<a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a>&gt; csDocumentNodeCommon::GetNodes           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return empty iterator. 
<p>

<p>Implements <a class="el" href="structiDocumentNode.html#e458462ca2357d0fd96fc9c31492bdcc">iDocumentNode</a>.</p>

<p>Definition at line <a class="el" href="documentcommon_8h-source.html#l00081">81</a> of file <a class="el" href="documentcommon_8h-source.html">documentcommon.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="524e1b597120a901996c3b3938c24703"></a><!-- doxytag: member="csDocumentNodeCommon::SetAttributeAsFloat" ref="524e1b597120a901996c3b3938c24703" args="(const char *name, float value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csDocumentNodeCommon::SetAttributeAsFloat           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Change or add an attribute to a string representation of a float. 
<p>

<p>Implements <a class="el" href="structiDocumentNode.html#bc2d86689d6d2f3633079315543f2c0a">iDocumentNode</a>.</p>

<p>Reimplemented in <a class="el" href="classcsDocumentNodeReadOnly.html#4f21233dc66fdfee82a23da1b062d102">csDocumentNodeReadOnly</a>.</p>

</div>
</div><p>
<a class="anchor" name="675c70fcf9d29d95db1d7a17700f59dd"></a><!-- doxytag: member="csDocumentNodeCommon::SetAttributeAsInt" ref="675c70fcf9d29d95db1d7a17700f59dd" args="(const char *name, int value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csDocumentNodeCommon::SetAttributeAsInt           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Converts 'value' to a string and calls <a class="el" href="structiDocumentNode.html#bee95c0bdfcdb6f1faf80d0ad0a67b54" title="Change or add an attribute.">SetAttribute()</a> with it. 
<p>

<p>Implements <a class="el" href="structiDocumentNode.html#b6f5406b4001af7eff706a69c176a4d3">iDocumentNode</a>.</p>

<p>Reimplemented in <a class="el" href="classcsDocumentNodeReadOnly.html#0ad55d071d59511cb5e05a10588f60d8">csDocumentNodeReadOnly</a>.</p>

</div>
</div><p>
<a class="anchor" name="5fb9e5d4f63deab701cf886fb5a184d2"></a><!-- doxytag: member="csDocumentNodeCommon::SetValueAsFloat" ref="5fb9e5d4f63deab701cf886fb5a184d2" args="(float value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csDocumentNodeCommon::SetValueAsFloat           </td>
          <td>(</td>
          <td class="paramtype">float&nbsp;</td>
          <td class="paramname"> <em>value</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set value to the string representation of a float. 
<p>

<p>Implements <a class="el" href="structiDocumentNode.html#1994b56c06980134d9a49487bf578dc9">iDocumentNode</a>.</p>

<p>Reimplemented in <a class="el" href="classcsDocumentNodeReadOnly.html#140d135396c5306954dbb1176e87ac70">csDocumentNodeReadOnly</a>.</p>

</div>
</div><p>
<a class="anchor" name="854ef443a6b341747e4370653ef05422"></a><!-- doxytag: member="csDocumentNodeCommon::SetValueAsInt" ref="854ef443a6b341747e4370653ef05422" args="(int value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void csDocumentNodeCommon::SetValueAsInt           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>value</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Converts 'value' to a string and calls <a class="el" href="structiDocumentNode.html#bd592bb2346da560dbbe5f0c98bc60ff" title="Set the value of this node.">SetValue()</a> with it. 
<p>

<p>Implements <a class="el" href="structiDocumentNode.html#b501e17db6ec2e58f42b9d1f5db5da7b">iDocumentNode</a>.</p>

<p>Reimplemented in <a class="el" href="classcsDocumentNodeReadOnly.html#f4c9378cbe1eac665e4cd64828b7e70e">csDocumentNodeReadOnly</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>csutil/<a class="el" href="documentcommon_8h-source.html">documentcommon.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>