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

📄 classfg__blist.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<p>添加一个对象. <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>pItem</em>&nbsp;</td><td>指向要添加的对象 </td></tr>  </table></dl><dl compact><dt><b>返回:</b></dt><dd>添加操作是否成功<br> true 成功<br> false 失败 </dd></dl><p>在文件<a class="el" href="FG__List_8h-source.html">FG_List.h</a>第<a class="el" href="FG__List_8h-source.html#l00720">720</a>行定义。<p>参考自 <a class="el" href="FG__Container_8cpp-source.html#l00059">FG_Container::AddChild()</a>.    </td>  </tr></table><a class="anchor" name="a3" doxytag="FG_BList::First" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class ITEM&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classFG__ForwardIterator.html">forward_iterator</a> <a class="el" href="classFG__BList.html">FG_BList</a>&lt; ITEM &gt;::First </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>返回指向第一个对象的正向迭代器 <p><dl compact><dt><b>返回:</b></dt><dd>指向第一个对象的正向迭代器 </dd></dl><p>在文件<a class="el" href="FG__List_8h-source.html">FG_List.h</a>第<a class="el" href="FG__List_8h-source.html#l00693">693</a>行定义。<p>参考自 <a class="el" href="FG__Container_8cpp-source.html#l00047">FG_Container::GetChild()</a>及<a class="el" href="FG__Container_8cpp-source.html#l00076">FG_Container::RemoveAllChild()</a>.    </td>  </tr></table><a class="anchor" name="a4" doxytag="FG_BList::Last" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class ITEM&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classFG__BackIterator.html">back_iterator</a> <a class="el" href="classFG__BList.html">FG_BList</a>&lt; ITEM &gt;::Last </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>返回指向最后一个对象的反向迭代器 <p><dl compact><dt><b>返回:</b></dt><dd>指向最后一个对象的反向迭代器 </dd></dl><p>在文件<a class="el" href="FG__List_8h-source.html">FG_List.h</a>第<a class="el" href="FG__List_8h-source.html#l00700">700</a>行定义。    </td>  </tr></table><a class="anchor" name="a2" doxytag="FG_BList::Loop" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class ITEM&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classFG__LoopIterator.html">loop_iterator</a> <a class="el" href="classFG__BList.html">FG_BList</a>&lt; ITEM &gt;::Loop </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classFG__BList.html#w1">item</a> *const&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>pItem</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>返回循环迭代器 <p>循环迭代器从起始对象指针开始遍历,直到容器中的最后一个对象, 然后再从容器中的第一个元素开始遍历,直到起始对象(包括起始对象) <dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>pItem</em>&nbsp;</td><td>指向循环遍历的起始对象的指针 </td></tr>  </table></dl><dl compact><dt><b>返回:</b></dt><dd>循环迭代器 </dd></dl><p>在文件<a class="el" href="FG__List_8h-source.html">FG_List.h</a>第<a class="el" href="FG__List_8h-source.html#l00683">683</a>行定义。    </td>  </tr></table><a class="anchor" name="a7" doxytag="FG_BList::Remove" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class ITEM&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> bool <a class="el" href="classFG__BList.html">FG_BList</a>&lt; ITEM &gt;::Remove </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classFG__BList.html#w1">item</a> *const&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>pItem</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>删除一个对象. <p>要在容器中寻找该对象 <dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>pItem</em>&nbsp;</td><td>指向要删除的对象 </td></tr>  </table></dl><dl compact><dt><b>返回:</b></dt><dd>删除操作是否成功<br> true 成功<br> false 失败 </dd></dl><p>在文件<a class="el" href="FG__List_8h-source.html">FG_List.h</a>第<a class="el" href="FG__List_8h-source.html#l00752">752</a>行定义。    </td>  </tr></table><a class="anchor" name="a5" doxytag="FG_BList::Remove" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class ITEM&gt; </td>        </tr>        <tr>          <td class="md" colspan="4">template&lt;class ITERATOR&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> bool <a class="el" href="classFG__BList.html">FG_BList</a>&lt; ITEM &gt;::Remove </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const ITERATOR&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>i</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>删除一个对象. <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>i</em>&nbsp;</td><td>指向要删除的对象的迭代器 </td></tr>  </table></dl><dl compact><dt><b>返回:</b></dt><dd>删除操作是否成功<br> true 成功<br> false 失败 </dd></dl><p>在文件<a class="el" href="FG__List_8h-source.html">FG_List.h</a>第<a class="el" href="FG__List_8h-source.html#l00710">710</a>行定义。<p>参考自 <a class="el" href="FG__List_8h-source.html#l00710">FG_BList&lt; FG_Object &gt;::Remove()</a>及<a class="el" href="FG__Container_8cpp-source.html#l00068">FG_Container::RemoveChild()</a>.    </td>  </tr></table><a class="anchor" name="a8" doxytag="FG_BList::RemoveAll" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class ITEM&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> bool <a class="el" href="classFG__BList.html">FG_BList</a>&lt; ITEM &gt;::RemoveAll </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>删除容器中的所有对象. <p><dl compact><dt><b>返回:</b></dt><dd>删除操作是否成功<br> true 成功<br> false 失败 </dd></dl><p>在文件<a class="el" href="FG__List_8h-source.html">FG_List.h</a>第<a class="el" href="FG__List_8h-source.html#l00792">792</a>行定义。<p>参考自 <a class="el" href="FG__Container_8cpp-source.html#l00076">FG_Container::RemoveAllChild()</a>及<a class="el" href="FG__List_8h-source.html#l00670">FG_BList&lt; FG_Object &gt;::~FG_BList()</a>.    </td>  </tr></table><hr><h2>成员数据文档</h2><a class="anchor" name="r0" doxytag="FG_BList::m_pFirst" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class ITEM&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classFG__BList.html#w0">node</a>* <a class="el" href="classFG__BList.html">FG_BList</a>&lt; ITEM &gt;::<a class="el" href="classFG__BList.html#r0">m_pFirst</a><code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>指向双向链表中的第一个节点的指针. <p><p>在文件<a class="el" href="FG__List_8h-source.html">FG_List.h</a>第<a class="el" href="FG__List_8h-source.html#l00809">809</a>行定义。    </td>  </tr></table><a class="anchor" name="r1" doxytag="FG_BList::m_pLast" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class ITEM&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classFG__BList.html#w0">node</a>* <a class="el" href="classFG__BList.html">FG_BList</a>&lt; ITEM &gt;::<a class="el" href="classFG__BList.html#r1">m_pLast</a><code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>指向双向链表中的最后一个节点的指针. <p><p>在文件<a class="el" href="FG__List_8h-source.html">FG_List.h</a>第<a class="el" href="FG__List_8h-source.html#l00811">811</a>行定义。    </td>  </tr></table><hr>该类的文档由以下文件生成:<ul><li><a class="el" href="FG__List_8h-source.html">FG_List.h</a></ul><hr><center>由 DoxyGen 1.3.6 于 Wed Jun 9 22:38:55 2004 生成<br>版权所有 (C) 2003,2004 王咏武</body></html>

⌨️ 快捷键说明

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