⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classtixmlnode.html

📁 一个j2me中很做要的包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> TiXmlNode* TiXmlNode::InsertEndChild </td>          <td class="md">(&nbsp;</td>          <td class="md">const TiXmlNode &amp;</td>          <td class="mdname1">&nbsp; <em>addThis</em>          </td>          <td class="md">)&nbsp;</td>          <td class="md"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Add a new node related to this.<p>Adds a child past the LastChild. Returns a pointer to the new object or NULL if an error occured.     </td>  </tr></table><a name="a9" doxytag="TiXmlNode::IterateChildren"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> TiXmlNode* TiXmlNode::IterateChildren </td>          <td class="md">(&nbsp;</td>          <td class="md">TiXmlNode *</td>          <td class="mdname1">&nbsp; <em>previous</em>          </td>          <td class="md">)&nbsp;</td>          <td class="md"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>An alternate way to walk the children of a node.<p>One way to iterate over nodes is: <div class="fragment"><pre>            for( child = parent-&gt;FirstChild(); child; child = child-&gt;NextSibling() )        </pre></div><p>IterateChildren does the same thing with the syntax: <div class="fragment"><pre>            child = 0;            while( child = parent-&gt;IterateChildren( child ) )        </pre></div><p>IterateChildren takes the previous child as input and finds the next one. If the previous child is null, it returns the first. IterateChildren will return null when done.     </td>  </tr></table><a name="a21" doxytag="TiXmlNode::NextSiblingElement"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classTiXmlElement.html">TiXmlElement</a>* TiXmlNode::NextSiblingElement </td>          <td class="md">(&nbsp;</td>          <td class="md">const std::string &amp;</td>          <td class="mdname1">&nbsp;          </td>          <td class="md">)&nbsp;</td>          <td class="md"> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Convenience function to get through elements.<p>Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if there is not another element.     </td>  </tr></table><a name="a20" doxytag="TiXmlNode::NextSiblingElement"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classTiXmlElement.html">TiXmlElement</a>* TiXmlNode::NextSiblingElement </td>          <td class="md">(&nbsp;</td>          <td class="mdname1">&nbsp;          </td>          <td class="md">)&nbsp;</td>          <td class="md"> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Convenience function to get through elements.<p>Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if there is not another element.     </td>  </tr></table><a name="a14" doxytag="TiXmlNode::ReplaceChild"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> TiXmlNode* TiXmlNode::ReplaceChild </td>          <td class="md">(&nbsp;</td>          <td class="md">TiXmlNode *</td>          <td class="mdname">&nbsp; <em>replaceThis</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md">const TiXmlNode &amp;</td>          <td class="mdname">&nbsp; <em>withThis</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Replace a child of this node.<p>Returns a pointer to the new object or NULL if an error occured.     </td>  </tr></table><a name="a2" doxytag="TiXmlNode::SetValue"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void TiXmlNode::SetValue </td>          <td class="md">(&nbsp;</td>          <td class="md">const std::string &amp;</td>          <td class="mdname1">&nbsp; <em>_value</em>          </td>          <td class="md">)&nbsp;</td>          <td class="md"><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Changes the value of the node.<p>Defined as: <div class="fragment"><pre>        Document:   filename of the xml file        Element:    name of the element        Comment:    the comment text        Unknown:    the tag contents        Text:       the text string        </pre></div>     </td>  </tr></table><a name="a1" doxytag="TiXmlNode::Value"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> const std::string&amp; TiXmlNode::Value </td>          <td class="md">(&nbsp;</td>          <td class="mdname1">&nbsp;          </td>          <td class="md">)&nbsp;</td>          <td class="md"> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>The meaning of 'value' changes for the specific type of TiXmlNode.<p><div class="fragment"><pre>        Document:   filename of the xml file        Element:    name of the element        Comment:    the comment text        Unknown:    the tag contents        Text:       the text string        </pre></div><p>The subclasses will wrap this function.     </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="tinyxml_8h-source.html">tinyxml.h</a></ul><hr><address><small>Generated at Sun Aug 26 20:37:31 2001 for TinyXml by<a href="http://www.doxygen.org/index.html"><img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.10 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, &copy;&nbsp;1997-2001</small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -