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

📄 classfg__slist.html

📁 《道法自然》书的源码FishGUI,一个跨平台的界面库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=gb2312"><title>FishGUI:  TemplateFG_SList&lt; ITEM &gt; class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- 制作者 Doxygen 1.3.6 --><div class="qindex"><a class="qindex" href="main.html">首页</a> | <a class="qindex" href="modules.html">模块</a> | <a class="qindex" href="hierarchy.html">类继承关系</a> | <a class="qindex" href="classes.html">按字典顺序排序的列表</a> | <a class="qindex" href="annotated.html">组合类型列表</a> | <a class="qindex" href="files.html">文件列表</a> | <a class="qindex" href="functions.html">组合类型成员</a> | <a class="qindex" href="globals.html">文件成员</a></div><h1>FG_SList&lt; ITEM &gt;模板类参考<br><small>[<a class="el" href="group__Utility.html">应用包</a>]</small></h1><code>#include &lt;<a class="el" href="FG__List_8h-source.html">FG_List.h</a>&gt;</code><p><a href="classFG__SList-members.html">所有成员的列表。</a><hr><a name="_details"></a><h2>详细描述</h2><h3>template&lt;class ITEM&gt;<br> class FG_SList&lt; ITEM &gt;</h3>单向链表容器类 <p><dl compact><dt><b>参数:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>ITEM</em>&nbsp;</td><td>其中保存的对象类型,容器中保存指向ITEM对象的指针,并且不负责对象的释放 </td></tr>  </table></dl><p><p>在文件<a class="el" href="FG__List_8h-source.html">FG_List.h</a>第<a class="el" href="FG__List_8h-source.html#l00511">511</a>行定义。<table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>公有类型</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="structFG__SList__Node.html">FG_SList_Node</a>&lt; ITEM &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__SList.html#w0">node</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">单向链表容器类中的节点类型  <a href="#w0"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef ITEM&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__SList.html#w1">item</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">单向链表容器类中的节点中保存的对象的类型  <a href="#w1"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classFG__ForwardIterator.html">FG_ForwardIterator</a>&lt;<br> <a class="el" href="structFG__SList__Node.html">FG_SList_Node</a>&lt; ITEM &gt;, ITEM &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__SList.html#w2">iterator</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">单向链表容器类中使用的正向迭代器类型  <a href="#w2"></a><br><br></td></tr><tr><td colspan=2><br><h2>公有成员</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__SList.html#a0">FG_SList</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">单向链表容器类的缺省构造函数  <a href="#a0"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__SList.html#a1">~FG_SList</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">单向链表容器类的析构函数  <a href="#a1"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classFG__ForwardIterator.html">iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__SList.html#a2">First</a> () const </td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">返回指向第一个对象的正向迭代器  <a href="#a2"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__SList.html#a3">Remove</a> (const <a class="el" href="classFG__ForwardIterator.html">iterator</a> i)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">删除一个对象.  <a href="#a3"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__SList.html#a4">Add</a> (<a class="el" href="classFG__SList.html#w1">item</a> *const pItem)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">添加一个对象.  <a href="#a4"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__SList.html#a5">Remove</a> (<a class="el" href="classFG__SList.html#w1">item</a> *const pItem)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">删除一个对象.  <a href="#a5"></a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__SList.html#a6">RemoveAll</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">删除容器中的所有对象.  <a href="#a6"></a><br><br></td></tr><tr><td colspan=2><br><h2>保护属性</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classFG__SList.html#w0">node</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classFG__SList.html#p0">m_First</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">指向单向链表中的第一个对象.  <a href="#p0"></a><br><br></td></tr></table><hr><h2>成员类型定义文档</h2><a class="anchor" name="w1" doxytag="FG_SList::item" ></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"> typedef ITEM <a class="el" href="classFG__SList.html">FG_SList</a>&lt; ITEM &gt;::<a class="el" href="classFG__SList.html#w1">item</a>      </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#l00520">520</a>行定义。    </td>  </tr></table><a class="anchor" name="w2" doxytag="FG_SList::iterator" ></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"> typedef <a class="el" href="classFG__ForwardIterator.html">FG_ForwardIterator</a>&lt;<a class="el" href="structFG__SList__Node.html">FG_SList_Node</a>&lt;ITEM&gt;, ITEM&gt; <a class="el" href="classFG__SList.html">FG_SList</a>&lt; ITEM &gt;::<a class="el" href="classFG__ForwardIterator.html">iterator</a>      </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#l00524">524</a>行定义。    </td>  </tr></table><a class="anchor" name="w0" doxytag="FG_SList::node" ></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"> typedef <a class="el" href="structFG__SList__Node.html">FG_SList_Node</a>&lt;ITEM&gt; <a class="el" href="classFG__SList.html">FG_SList</a>&lt; ITEM &gt;::<a class="el" href="classFG__SList.html#w0">node</a>      </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#l00516">516</a>行定义。<p>参考自 <a class="el" href="FG__List_8h-source.html#l00565">FG_SList&lt; FG_Object &gt;::Add()</a>.    </td>  </tr></table><hr><h2>构造及析构函数文档</h2><a class="anchor" name="a0" doxytag="FG_SList::FG_SList" ></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__SList.html">FG_SList</a>&lt; ITEM &gt;::<a class="el" href="classFG__SList.html">FG_SList</a> </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><p>在文件<a class="el" href="FG__List_8h-source.html">FG_List.h</a>第<a class="el" href="FG__List_8h-source.html#l00528">528</a>行定义。    </td>  </tr></table><a class="anchor" name="a1" doxytag="FG_SList::~FG_SList" ></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"> virtual <a class="el" href="classFG__SList.html">FG_SList</a>&lt; ITEM &gt;::~<a class="el" href="classFG__SList.html">FG_SList</a> </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, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>单向链表容器类的析构函数 <p>删除所有的节点对象,但是不负责删除节点中保存的ITEM对象 <p>在文件<a class="el" href="FG__List_8h-source.html">FG_List.h</a>第<a class="el" href="FG__List_8h-source.html#l00535">535</a>行定义。    </td>  </tr></table><hr><h2>成员函数文档</h2><a class="anchor" name="a4" doxytag="FG_SList::Add" ></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>

⌨️ 快捷键说明

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