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

📄 type_gllist.html

📁 一个非常有用的开源代码
💻 HTML
字号:
<html><head><title>Generated Documentation</title></head><body>	<image src="headerimage.png">	<br><br><table><tr><td><big><big><big style="font-family: arial;"><b>GLList</b></big></big></big><br><br></td><td> This does linked lists</td></tr></table><br><br><big><big><i>Constructors (public)</i></big></big><br><div style="margin-left: 40px;"><big><b>GLList</b></big>()<br></div><br><big><big><i>Destructors</i></big></big><br><div style="margin-left: 40px;"><big><b>~GLList</b></big>()<br></div><br><big><big><i>Public</i></big></big><br><div style="margin-left: 40px;">void <big><b>Clear</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Deletes all the buckets in the list</font></div><br>void <big><b>DeleteBucket</b></big>(<a href="type_GBucket.html">GBucket</a>* pPrev)<br><div style="margin-left: 80px;"><font color=brown> This calls Unlink, and deletes the bucket pointer after it is done</font></div><br><a href="type_GBucket.html">GBucket</a>* <big><b>GetBucket</b></big>(<a href="type_GBucket.html">GBucket</a>* pLikeMe)<br><div style="margin-left: 80px;"><font color=brown> This finds the bucket that compares to 0 with pLikeMe (or NULL if not found)</font></div><br><a href="type_GBucket.html">GBucket</a>* <big><b>GetBucket</b></big>(int* n)<br><div style="margin-left: 80px;"><font color=brown> Get the nth (zero-based) bucket </font></div><br>int <big><b>GetCount</b></big>()<br><div style="margin-left: 80px;"><font color=brown> How many buckets are in this list?</font></div><br><a href="type_GBucket.html">GBucket</a>* <big><b>GetFirst</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the first bucket in the list</font></div><br><a href="type_GBucket.html">GBucket</a>* <big><b>GetLast</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Returns the last bucket in the list</font></div><br><a href="type_GBucket.html">GBucket</a>* <big><b>GetNext</b></big>(<a href="type_GBucket.html">GBucket</a>* pCurrentBucket)<br><div style="margin-left: 80px;"><font color=brown> Returns the bucket that follows pCurrentBucket</font></div><br>void <big><b>Insert</b></big>(<a href="type_GBucket.html">GBucket</a>* pPrev, <a href="type_GBucket.html">GBucket</a>* pThis)<br><div style="margin-left: 80px;"><font color=brown> Insert pThis after pPrev in the list.  (If pPrev is NULL, it inserts at the fromt of the list)</font></div><br>void <big><b>Link</b></big>(<a href="type_GBucket.html">GBucket</a>* pBucket)<br><div style="margin-left: 80px;"><font color=brown> Add a bucket to the end of the list</font></div><br>void <big><b>LinkSorted</b></big>(<a href="type_GBucket.html">GBucket</a>* pBucket)<br><div style="margin-left: 80px;"><font color=brown> Insert the bucket into the list in order</font></div><br>void <big><b>SlowSort</b></big>()<br><div style="margin-left: 80px;"><font color=brown> In case you want it to take a long time to sort</font></div><br>void <big><b>Sort</b></big>()<br><div style="margin-left: 80px;"><font color=brown> Merge Sort</font></div><br><a href="type_GBucket.html">GBucket</a>* <big><b>Unlink</b></big>(<a href="type_GBucket.html">GBucket</a>* pPrev)<br><div style="margin-left: 80px;"><font color=brown> This cuts out the bucket following pPrev from the list.  Use NULL to get the first one It is your job to delete this bucket</font></div><br></div><br><big><big><i>Protected</i></big></big><br><div style="margin-left: 40px;">void <big><b>Merge</b></big>(<a href="type_GLList.html">GLList</a>* pList2)<br>void <big><b>Split</b></big>(<a href="type_GLList.html">GLList</a>* pList2)<br></div><br></body></html>

⌨️ 快捷键说明

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