246 lines
11 KiB
HTML
246 lines
11 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
|
<title>Gem-graph: src/util/pile.c File Reference</title>
|
||
|
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="../../jquery.js"></script>
|
||
|
<script type="text/javascript" src="../../dynsections.js"></script>
|
||
|
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||
|
<script type="text/javascript" src="../../search/search.js"></script>
|
||
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr id="projectrow">
|
||
|
<td id="projectlogo"><img alt="Logo" src="../../logo icon mini.png"/></td>
|
||
|
<td id="projectalign">
|
||
|
<div id="projectname">Gem-graph<span id="projectnumber"> 0.1.0</span>
|
||
|
</div>
|
||
|
<div id="projectbrief">A modelling tool based on rewriting of geometric graphs.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.9.8 -->
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
|
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<script type="text/javascript" src="../../menudata.js"></script>
|
||
|
<script type="text/javascript" src="../../menu.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
|
$(function() {
|
||
|
initMenu('../../',true,false,'search.php','Search');
|
||
|
$(document).ready(function() { init_search(); });
|
||
|
});
|
||
|
/* @license-end */
|
||
|
</script>
|
||
|
<div id="main-nav"></div>
|
||
|
<!-- window showing the filter options -->
|
||
|
<div id="MSearchSelectWindow"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||
|
</div>
|
||
|
|
||
|
<!-- iframe showing the search results (closed by default) -->
|
||
|
<div id="MSearchResultsWindow">
|
||
|
<div id="MSearchResults">
|
||
|
<div class="SRPage">
|
||
|
<div id="SRIndex">
|
||
|
<div id="SRResults"></div>
|
||
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div id="nav-path" class="navpath">
|
||
|
<ul>
|
||
|
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="../../dir_b7878ad5ecbf2506f4125b9d34c97e45.html">util</a></li> </ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#func-members">Functions</a> </div>
|
||
|
<div class="headertitle"><div class="title">pile.c File Reference</div></div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Gem-graph-client.
|
||
|
<a href="#details">More...</a></p>
|
||
|
<div class="textblock"><code>#include "<a class="el" href="../../d8/d0c/util_8h.html">../../include/util.h</a>"</code><br />
|
||
|
</div><table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||
|
Functions</h2></td></tr>
|
||
|
<tr class="memitem:ae7f894b6d7e9fb168fa601fdfd8345ec" id="r_ae7f894b6d7e9fb168fa601fdfd8345ec"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d08/pile_8c.html#ae7f894b6d7e9fb168fa601fdfd8345ec">util_pile_push</a> (<a class="el" href="../../da/d03/structpile.html">pile</a> **p, int value)</td></tr>
|
||
|
<tr class="separator:ae7f894b6d7e9fb168fa601fdfd8345ec"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a0e06a04510db610ca0097c34dd1df8e8" id="r_a0e06a04510db610ca0097c34dd1df8e8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d08/pile_8c.html#a0e06a04510db610ca0097c34dd1df8e8">util_pile_pop</a> (<a class="el" href="../../da/d03/structpile.html">pile</a> **p)</td></tr>
|
||
|
<tr class="separator:a0e06a04510db610ca0097c34dd1df8e8"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aaed89bf98ca82bcc01de237563c84e4e" id="r_aaed89bf98ca82bcc01de237563c84e4e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d08/pile_8c.html#aaed89bf98ca82bcc01de237563c84e4e">util_pile_clear</a> (<a class="el" href="../../da/d03/structpile.html">pile</a> **p)</td></tr>
|
||
|
<tr class="separator:aaed89bf98ca82bcc01de237563c84e4e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:afbb61183d866a834bdf9cae2be6c84f5" id="r_afbb61183d866a834bdf9cae2be6c84f5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d08/pile_8c.html#afbb61183d866a834bdf9cae2be6c84f5">util_pile_length</a> (<a class="el" href="../../da/d03/structpile.html">pile</a> *p)</td></tr>
|
||
|
<tr class="separator:afbb61183d866a834bdf9cae2be6c84f5"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:adfb08d2ce5a4ad53e4d0b873e993cd91" id="r_adfb08d2ce5a4ad53e4d0b873e993cd91"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d08/pile_8c.html#adfb08d2ce5a4ad53e4d0b873e993cd91">util_pile_view</a> (<a class="el" href="../../da/d03/structpile.html">pile</a> *p)</td></tr>
|
||
|
<tr class="separator:adfb08d2ce5a4ad53e4d0b873e993cd91"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Gem-graph-client. </p>
|
||
|
<p>This file is part of Gem-graph. It implements a simple pile functions. </p>
|
||
|
</div><h2 class="groupheader">Function Documentation</h2>
|
||
|
<a id="aaed89bf98ca82bcc01de237563c84e4e" name="aaed89bf98ca82bcc01de237563c84e4e"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#aaed89bf98ca82bcc01de237563c84e4e">◆ </a></span>util_pile_clear()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void util_pile_clear </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="../../da/d03/structpile.html">pile</a> ** </td>
|
||
|
<td class="paramname"><em>p</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">**p</td><td></td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="afbb61183d866a834bdf9cae2be6c84f5" name="afbb61183d866a834bdf9cae2be6c84f5"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#afbb61183d866a834bdf9cae2be6c84f5">◆ </a></span>util_pile_length()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int util_pile_length </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="../../da/d03/structpile.html">pile</a> * </td>
|
||
|
<td class="paramname"><em>p</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">**p</td><td></td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>length </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a0e06a04510db610ca0097c34dd1df8e8" name="a0e06a04510db610ca0097c34dd1df8e8"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a0e06a04510db610ca0097c34dd1df8e8">◆ </a></span>util_pile_pop()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int util_pile_pop </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="../../da/d03/structpile.html">pile</a> ** </td>
|
||
|
<td class="paramname"><em>p</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">**p</td><td></td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>value </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="ae7f894b6d7e9fb168fa601fdfd8345ec" name="ae7f894b6d7e9fb168fa601fdfd8345ec"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#ae7f894b6d7e9fb168fa601fdfd8345ec">◆ </a></span>util_pile_push()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int util_pile_push </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="../../da/d03/structpile.html">pile</a> ** </td>
|
||
|
<td class="paramname"><em>p</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">int </td>
|
||
|
<td class="paramname"><em>value</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">**p</td><td></td></tr>
|
||
|
<tr><td class="paramname">value</td><td></td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl class="section return"><dt>Returns</dt><dd>value </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="adfb08d2ce5a4ad53e4d0b873e993cd91" name="adfb08d2ce5a4ad53e4d0b873e993cd91"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#adfb08d2ce5a4ad53e4d0b873e993cd91">◆ </a></span>util_pile_view()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void util_pile_view </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"><a class="el" href="../../da/d03/structpile.html">pile</a> * </td>
|
||
|
<td class="paramname"><em>p</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">**p</td><td></td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div><!-- contents -->
|
||
|
<!-- start footer part -->
|
||
|
<hr class="footer"/><address class="footer"><small>
|
||
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|