<!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: CS::DocumentHelper Namespace 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 class="current"><a href="namespaces.html"><span>Namespaces</span></a></li> <li><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="namespaces.html"><span>Namespace List</span></a></li> <li><a href="namespacemembers.html"><span>Namespace Members</span></a></li> </ul> </div> <div class="nav"> <a class="el" href="namespaceCS.html">CS</a>::<a class="el" href="namespaceCS_1_1DocumentHelper.html">DocumentHelper</a></div> <h1>CS::DocumentHelper Namespace Reference</h1>For compatibility. <a href="#_details">More...</a> <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br> <a class="el" href="structCS_1_1DocSystem_1_1NodeAttributeCompare.html">CS::DocSystem::NodeAttributeCompare</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCS_1_1DocumentHelper.html#dd4030d5ff211813530b2f28fb57632c">NodeAttributeCompare</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br> <a class="el" href="structCS_1_1DocSystem_1_1NodeAttributeRegexpTest.html">CS::DocSystem::NodeAttributeRegexpTest</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCS_1_1DocumentHelper.html#5259f4741fbc399427631c607ba0a2cd">NodeAttributeRegexpTest</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br> <a class="el" href="structCS_1_1DocSystem_1_1NodeAttributeValueTest.html">CS::DocSystem::NodeAttributeValueTest</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCS_1_1DocumentHelper.html#dcdbf26f275588af5f865ae3c89cc122">NodeAttributeValueTest</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br> <a class="el" href="structCS_1_1DocSystem_1_1NodeNameCompare.html">CS::DocSystem::NodeNameCompare</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCS_1_1DocumentHelper.html#957cf83d652586e38b0a54aae14cbe24">NodeNameCompare</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br> <a class="el" href="structCS_1_1DocSystem_1_1NodeValueTest.html">CS::DocSystem::NodeValueTest</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCS_1_1DocumentHelper.html#eba967b9581d9ec44f2f81007ef8d742">NodeValueTest</a></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCS_1_1DocumentHelper.html#f92387270b288ddb402d222d4ce155ab">CloneAttributes</a> (<a class="el" href="structiDocumentNode.html">iDocumentNode</a> *from, <a class="el" href="structiDocumentNode.html">iDocumentNode</a> *to)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCS_1_1DocumentHelper.html#ff96107b623a58fa45b4dbd2902ade8b">CloneNode</a> (<a class="el" href="structiDocumentNode.html">iDocumentNode</a> *from, <a class="el" href="structiDocumentNode.html">iDocumentNode</a> *to)</td></tr> <tr><td class="memTemplParams" nowrap colspan="2">template<class T> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsPtr.html">csPtr</a><br> < <a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a> > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceCS_1_1DocumentHelper.html#ccabad23e89a91278acd052dc88087ab">FilterDocumentNodeIterator</a> (<a class="el" href="classcsRef.html">csRef</a>< <a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a> > parent, T filter)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcsString.html">csString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCS_1_1DocumentHelper.html#33ad8282213096fbb708a415f6fcde5b">FlattenNode</a> (<a class="el" href="structiDocumentNode.html">iDocumentNode</a> *node)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">"Flatten" a document node structure into a string, suitable for e.g. <a href="#33ad8282213096fbb708a415f6fcde5b"></a><br></td></tr> <tr><td class="memTemplParams" nowrap colspan="2">template<class T> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceCS_1_1DocumentHelper.html#f7cd0cb76dcf977fa657df954eb2684b">RemoveDuplicateChildren</a> (<a class="el" href="structiDocumentNode.html">iDocumentNode</a> *rootNode, <a class="el" href="classcsRef.html">csRef</a>< <a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a> > childIt, T eq)</td></tr> <tr><td class="memTemplParams" nowrap colspan="2">template<class T> </td></tr> <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceCS_1_1DocumentHelper.html#c9ea30e500f8e219c44fd7d1432841b6">RemoveDuplicateChildren</a> (<a class="el" href="structiDocumentNode.html">iDocumentNode</a> *rootNode, T eq)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> For compatibility. <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000045">Deprecated:</a></b></dt><dd></dd></dl> <hr><h2>Typedef Documentation</h2> <a class="anchor" name="dd4030d5ff211813530b2f28fb57632c"></a><!-- doxytag: member="CS::DocumentHelper::NodeAttributeCompare" ref="dd4030d5ff211813530b2f28fb57632c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="structCS_1_1DocSystem_1_1NodeAttributeCompare.html">CS::DocSystem::NodeAttributeCompare</a> <a class="el" href="structCS_1_1DocSystem_1_1NodeAttributeCompare.html">CS::DocumentHelper::NodeAttributeCompare</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000046">Deprecated:</a></b></dt><dd>Use <a class="el" href="structCS_1_1DocSystem_1_1NodeAttributeCompare.html" title="Node comparator.">CS::DocSystem::NodeAttributeCompare</a> </dd></dl> <p>Definition at line <a class="el" href="documenthelper_8h-source.html#l00369">369</a> of file <a class="el" href="documenthelper_8h-source.html">documenthelper.h</a>.</p> </div> </div><p> <a class="anchor" name="5259f4741fbc399427631c607ba0a2cd"></a><!-- doxytag: member="CS::DocumentHelper::NodeAttributeRegexpTest" ref="5259f4741fbc399427631c607ba0a2cd" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="structCS_1_1DocSystem_1_1NodeAttributeRegexpTest.html">CS::DocSystem::NodeAttributeRegexpTest</a> <a class="el" href="structCS_1_1DocSystem_1_1NodeAttributeRegexpTest.html">CS::DocumentHelper::NodeAttributeRegexpTest</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000047">Deprecated:</a></b></dt><dd>Use <a class="el" href="structCS_1_1DocSystem_1_1NodeAttributeRegexpTest.html" title="Check if a regular expression matches(case-insensitive) with the value of the given...">CS::DocSystem::NodeAttributeRegexpTest</a> </dd></dl> <p>Definition at line <a class="el" href="documenthelper_8h-source.html#l00373">373</a> of file <a class="el" href="documenthelper_8h-source.html">documenthelper.h</a>.</p> </div> </div><p> <a class="anchor" name="dcdbf26f275588af5f865ae3c89cc122"></a><!-- doxytag: member="CS::DocumentHelper::NodeAttributeValueTest" ref="dcdbf26f275588af5f865ae3c89cc122" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="structCS_1_1DocSystem_1_1NodeAttributeValueTest.html">CS::DocSystem::NodeAttributeValueTest</a> <a class="el" href="structCS_1_1DocSystem_1_1NodeAttributeValueTest.html">CS::DocumentHelper::NodeAttributeValueTest</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000048">Deprecated:</a></b></dt><dd>Use <a class="el" href="structCS_1_1DocSystem_1_1NodeAttributeValueTest.html" title="Compare (case-sensitive) node attribute to given.">CS::DocSystem::NodeAttributeValueTest</a> </dd></dl> <p>Definition at line <a class="el" href="documenthelper_8h-source.html#l00377">377</a> of file <a class="el" href="documenthelper_8h-source.html">documenthelper.h</a>.</p> </div> </div><p> <a class="anchor" name="957cf83d652586e38b0a54aae14cbe24"></a><!-- doxytag: member="CS::DocumentHelper::NodeNameCompare" ref="957cf83d652586e38b0a54aae14cbe24" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="structCS_1_1DocSystem_1_1NodeNameCompare.html">CS::DocSystem::NodeNameCompare</a> <a class="el" href="structCS_1_1DocSystem_1_1NodeNameCompare.html">CS::DocumentHelper::NodeNameCompare</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000049">Deprecated:</a></b></dt><dd>Use <a class="el" href="structCS_1_1DocSystem_1_1NodeNameCompare.html" title="Node comparator.">CS::DocSystem::NodeNameCompare</a> </dd></dl> <p>Definition at line <a class="el" href="documenthelper_8h-source.html#l00381">381</a> of file <a class="el" href="documenthelper_8h-source.html">documenthelper.h</a>.</p> </div> </div><p> <a class="anchor" name="eba967b9581d9ec44f2f81007ef8d742"></a><!-- doxytag: member="CS::DocumentHelper::NodeValueTest" ref="eba967b9581d9ec44f2f81007ef8d742" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="structCS_1_1DocSystem_1_1NodeValueTest.html">CS::DocSystem::NodeValueTest</a> <a class="el" href="structCS_1_1DocSystem_1_1NodeValueTest.html">CS::DocumentHelper::NodeValueTest</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000050">Deprecated:</a></b></dt><dd>Use <a class="el" href="structCS_1_1DocSystem_1_1NodeValueTest.html" title="Compare (case-sensitive) node value to given.">CS::DocSystem::NodeValueTest</a> </dd></dl> <p>Definition at line <a class="el" href="documenthelper_8h-source.html#l00385">385</a> of file <a class="el" href="documenthelper_8h-source.html">documenthelper.h</a>.</p> </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="f92387270b288ddb402d222d4ce155ab"></a><!-- doxytag: member="CS::DocumentHelper::CloneAttributes" ref="f92387270b288ddb402d222d4ce155ab" args="(iDocumentNode *from, iDocumentNode *to)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void CS::DocumentHelper::CloneAttributes </td> <td>(</td> <td class="paramtype"><a class="el" href="structiDocumentNode.html">iDocumentNode</a> * </td> <td class="paramname"> <em>from</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>to</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000053">Deprecated:</a></b></dt><dd>Use <a class="el" href="namespaceCS_1_1DocSystem.html#9e955d701eeb4e0dc19d2982e97effad" title="Copy the attributes of a node to another node.">CS::DocSystem::CloneAttributes</a> </dd></dl> <p>Definition at line <a class="el" href="documenthelper_8h-source.html#l00407">407</a> of file <a class="el" href="documenthelper_8h-source.html">documenthelper.h</a>.</p> <p>References <a class="el" href="documenthelper_8h-source.html#l00181">CS::DocSystem::CloneAttributes()</a>.</p> </div> </div><p> <a class="anchor" name="ff96107b623a58fa45b4dbd2902ade8b"></a><!-- doxytag: member="CS::DocumentHelper::CloneNode" ref="ff96107b623a58fa45b4dbd2902ade8b" args="(iDocumentNode *from, iDocumentNode *to)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void CS::DocumentHelper::CloneNode </td> <td>(</td> <td class="paramtype"><a class="el" href="structiDocumentNode.html">iDocumentNode</a> * </td> <td class="paramname"> <em>from</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>to</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000054">Deprecated:</a></b></dt><dd>Use <a class="el" href="namespaceCS_1_1DocSystem.html#e998e1ee9e037045028ec0fa125b229a" title="Recursively clone a node with all its attributes and child-nodes.">CS::DocSystem::CloneNode</a> </dd></dl> <p>Definition at line <a class="el" href="documenthelper_8h-source.html#l00414">414</a> of file <a class="el" href="documenthelper_8h-source.html">documenthelper.h</a>.</p> <p>References <a class="el" href="documenthelper_8h-source.html#l00196">CS::DocSystem::CloneNode()</a>.</p> </div> </div><p> <a class="anchor" name="ccabad23e89a91278acd052dc88087ab"></a><!-- doxytag: member="CS::DocumentHelper::FilterDocumentNodeIterator" ref="ccabad23e89a91278acd052dc88087ab" args="(csRef< iDocumentNodeIterator > parent, T filter)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcsPtr.html">csPtr</a><<a class="el" href="structiDocumentNodeIterator.html">iDocumentNodeIterator</a>> CS::DocumentHelper::FilterDocumentNodeIterator </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>parent</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T </td> <td class="paramname"> <em>filter</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000055">Deprecated:</a></b></dt><dd>Use <a class="el" href="namespaceCS_1_1DocSystem.html#bb35b803dcd1de9190496d2614768b3e" title="Get a filtering iDocumentNodeIterator.">CS::DocSystem::FilterDocumentNodeIterator</a> </dd></dl> <p>Definition at line <a class="el" href="documenthelper_8h-source.html#l00422">422</a> of file <a class="el" href="documenthelper_8h-source.html">documenthelper.h</a>.</p> <p>References <a class="el" href="documenthelper_8h-source.html#l00347">CS::DocSystem::FilterDocumentNodeIterator()</a>.</p> </div> </div><p> <a class="anchor" name="33ad8282213096fbb708a415f6fcde5b"></a><!-- doxytag: member="CS::DocumentHelper::FlattenNode" ref="33ad8282213096fbb708a415f6fcde5b" args="(iDocumentNode *node)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcsString.html">csString</a> CS::DocumentHelper::FlattenNode </td> <td>(</td> <td class="paramtype"><a class="el" href="structiDocumentNode.html">iDocumentNode</a> * </td> <td class="paramname"> <em>node</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> "Flatten" a document node structure into a string, suitable for e.g. <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000056">Deprecated:</a></b></dt><dd>Use <a class="el" href="namespaceCS_1_1DocSystem.html#9254ecc9449b6d09c96181f0b4806de6" title=""Flatten" a document node structure into a string, suitable for e.g.">CS::DocSystem::FlattenNode</a> </dd></dl> <p>Definition at line <a class="el" href="documenthelper_8h-source.html#l00430">430</a> of file <a class="el" href="documenthelper_8h-source.html">documenthelper.h</a>.</p> <p>References <a class="el" href="documenthelper_8h-source.html#l00430">CS::DocSystem::FlattenNode()</a>.</p> </div> </div><p> <a class="anchor" name="f7cd0cb76dcf977fa657df954eb2684b"></a><!-- doxytag: member="CS::DocumentHelper::RemoveDuplicateChildren" ref="f7cd0cb76dcf977fa657df954eb2684b" args="(iDocumentNode *rootNode, csRef< iDocumentNodeIterator > childIt, T eq)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T> </div> <table class="memname"> <tr> <td class="memname">void CS::DocumentHelper::RemoveDuplicateChildren </td> <td>(</td> <td class="paramtype"><a class="el" href="structiDocumentNode.html">iDocumentNode</a> * </td> <td class="paramname"> <em>rootNode</em>, </td> </tr> <tr> <td class="paramkey"></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>childIt</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T </td> <td class="paramname"> <em>eq</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000052">Deprecated:</a></b></dt><dd>Use <a class="el" href="namespaceCS_1_1DocSystem.html#199bcaf1c3633528478ec368130dccfc" title="Remove duplicate child-nodes.">CS::DocSystem::RemoveDuplicateChildren</a> </dd></dl> <p>Definition at line <a class="el" href="documenthelper_8h-source.html#l00399">399</a> of file <a class="el" href="documenthelper_8h-source.html">documenthelper.h</a>.</p> <p>References <a class="el" href="documenthelper_8h-source.html#l00115">CS::DocSystem::RemoveDuplicateChildren()</a>.</p> </div> </div><p> <a class="anchor" name="c9ea30e500f8e219c44fd7d1432841b6"></a><!-- doxytag: member="CS::DocumentHelper::RemoveDuplicateChildren" ref="c9ea30e500f8e219c44fd7d1432841b6" args="(iDocumentNode *rootNode, T eq)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T> </div> <table class="memname"> <tr> <td class="memname">void CS::DocumentHelper::RemoveDuplicateChildren </td> <td>(</td> <td class="paramtype"><a class="el" href="structiDocumentNode.html">iDocumentNode</a> * </td> <td class="paramname"> <em>rootNode</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">T </td> <td class="paramname"> <em>eq</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000051">Deprecated:</a></b></dt><dd>Use <a class="el" href="namespaceCS_1_1DocSystem.html#199bcaf1c3633528478ec368130dccfc" title="Remove duplicate child-nodes.">CS::DocSystem::RemoveDuplicateChildren</a> </dd></dl> <p>Definition at line <a class="el" href="documenthelper_8h-source.html#l00390">390</a> of file <a class="el" href="documenthelper_8h-source.html">documenthelper.h</a>.</p> </div> </div><p> <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>