hp/docs/fpm-ford/module/linked_list.html
2023-06-09 19:14:39 -04:00

711 lines
No EOL
19 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="RPN calculator in modern Fortran">
<meta name="author" content="sgeard" >
<link rel="icon" href="../favicon.png">
<title>linked_list &ndash; hp</title>
<link href="../css/bootstrap.min.css" rel="stylesheet">
<link href="../css/pygments.css" rel="stylesheet">
<link href="../css/font-awesome.min.css" rel="stylesheet">
<link href="../css/local.css" rel="stylesheet">
<link href="../tipuesearch/tipuesearch.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script src="../js/jquery-2.1.3.min.js"></script>
<script src="../js/svg-pan-zoom.min.js"></script>
</head>
<body>
<!-- Fixed navbar -->
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../index.html">hp </a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="dropdown hidden-xs visible-sm visible-md hidden-lg">
<a href="#" class="dropdown-toggle"
data-toggle="dropdown" role="button"
aria-haspopup="true"
aria-expanded="false">Contents <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="../lists/files.html">Source Files</a></li>
<li><a href="../lists/modules.html">Modules</a></li>
<li><a href="../lists/procedures.html">Procedures</a></li>
<li><a href="../lists/absint.html">Abstract Interfaces</a></li>
<li><a href="../lists/types.html">Derived Types</a></li>
<li><a href="../lists/programs.html">Programs</a></li>
</ul>
</li>
<li class="visible-xs hidden-sm visible-lg"><a href="../lists/files.html">Source Files</a></li>
<li class="visible-xs hidden-sm visible-lg"><a href="../lists/modules.html">Modules</a></li>
<li class="visible-xs hidden-sm visible-lg"><a href="../lists/procedures.html">Procedures</a></li>
<li class="visible-xs hidden-sm visible-lg"><a href="../lists/absint.html">Abstract Interfaces</a></li>
<li class="visible-xs hidden-sm visible-lg"><a href="../lists/types.html">Derived Types</a></li>
<li class="visible-xs hidden-sm visible-lg"><a href="../lists/programs.html">Programs</a></li>
</ul>
<form action="../search.html" class="navbar-form navbar-right" role="search">
<div class="form-group">
<input type="text" class="form-control" placeholder="Search" name="q" id="tipue_search_input" autocomplete="off" required>
</div>
<!--
<button type="submit" class="btn btn-default">Submit</button>
-->
</form>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container">
<div class="row">
<h1>linked_list
<small>Module</small>
</h1>
<div class="row" id="info-bar">
<div class="col-lg-12">
<div class="well well-sm">
<ul class="list-inline" style="margin-bottom:0px;display:inline">
<li id="statements"><i class="fa fa-list-ol"></i>
<a data-toggle="tooltip"
data-placement="bottom" data-html="true"
title=" 6.4% of total for modules and submodules.">85 statements</a>
</li>
<li id="source-file">
<i class="fa fa-code"></i>
<a href="../src/linked_list.f90"> Source File</a>
</li>
</ul>
<ol class="breadcrumb in-well text-right">
<li><a href='../sourcefile/linked_list.f90.html'>linked_list.f90</a></li>
<li class="active">linked_list</li>
</ol>
</div>
</div>
</div>
<script>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
</script>
</div>
<div class="row">
<div class="col-md-3 hidden-xs hidden-sm visible-md visible-lg">
<div id="sidebar">
<h3>Contents</h3>
<div class="panel panel-primary">
<div class="panel-heading text-left">
<h3 class="panel-title">
<a data-toggle="collapse" href="#absints-0">Abstract Interfaces</a>
</h3>
</div>
<div id="absints-0" class="panel-collapse collapse">
<div class="list-group">
<a class="list-group-item" href="../module/linked_list.html#interface-command_fun">command_fun</a>
</div>
</div>
</div>
<div class="panel panel-primary">
<div class="panel-heading text-left">
<h3 class="panel-title">
<a data-toggle="collapse" href="#types-0">Derived Types</a>
</h3>
</div>
<div id="types-0" class="panel-collapse collapse">
<div class="list-group">
<a class="list-group-item" href="../module/linked_list.html#type-llist">llist</a>
<a class="list-group-item" href="../module/linked_list.html#type-llist_node">llist_node</a>
</div>
</div>
</div>
<div class="panel panel-primary">
<div class="panel-heading text-left">
<h3 class="panel-title">
<a data-toggle="collapse" href="#funcs-0">Functions</a>
</h3>
</div>
<div id="funcs-0" class="panel-collapse collapse">
<div class="list-group">
<a class="list-group-item" href="../module/linked_list.html#proc-iterate_ll">iterate_ll</a>
<a class="list-group-item" href="../module/linked_list.html#proc-size">size</a>
</div>
</div>
</div>
<div class="panel panel-primary">
<div class="panel-heading text-left">
<h3 class="panel-title">
<a data-toggle="collapse" href="#subs-0">Subroutines</a>
</h3>
</div>
<div id="subs-0" class="panel-collapse collapse">
<div class="list-group">
<a class="list-group-item" href="../module/linked_list.html#proc-append">append</a>
<a class="list-group-item" href="../module/linked_list.html#proc-clear">clear</a>
<a class="list-group-item" href="../module/linked_list.html#proc-print">print</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-9" id='text'>
<br>
<section class="visible-xs visible-sm hidden-md">
<h3>Contents</h3>
<div class="panel panel-primary">
<div class="panel-heading text-left">
<h3 class="panel-title">
<a data-toggle="collapse" href="#absints-1">Abstract Interfaces</a>
</h3>
</div>
<div id="absints-1" class="panel-collapse collapse">
<div class="list-group">
<a class="list-group-item" href="../module/linked_list.html#interface-command_fun">command_fun</a>
</div>
</div>
</div>
<div class="panel panel-primary">
<div class="panel-heading text-left">
<h3 class="panel-title">
<a data-toggle="collapse" href="#types-1">Derived Types</a>
</h3>
</div>
<div id="types-1" class="panel-collapse collapse">
<div class="list-group">
<a class="list-group-item" href="../module/linked_list.html#type-llist">llist</a>
<a class="list-group-item" href="../module/linked_list.html#type-llist_node">llist_node</a>
</div>
</div>
</div>
<div class="panel panel-primary">
<div class="panel-heading text-left">
<h3 class="panel-title">
<a data-toggle="collapse" href="#funcs-1">Functions</a>
</h3>
</div>
<div id="funcs-1" class="panel-collapse collapse">
<div class="list-group">
<a class="list-group-item" href="../module/linked_list.html#proc-iterate_ll">iterate_ll</a>
<a class="list-group-item" href="../module/linked_list.html#proc-size">size</a>
</div>
</div>
</div>
<div class="panel panel-primary">
<div class="panel-heading text-left">
<h3 class="panel-title">
<a data-toggle="collapse" href="#subs-1">Subroutines</a>
</h3>
</div>
<div id="subs-1" class="panel-collapse collapse">
<div class="list-group">
<a class="list-group-item" href="../module/linked_list.html#proc-append">append</a>
<a class="list-group-item" href="../module/linked_list.html#proc-clear">clear</a>
<a class="list-group-item" href="../module/linked_list.html#proc-print">print</a>
</div>
</div>
</div>
</section>
<br class="visible-xs visible-sm hidden-md">
<section>
<h2>Abstract Interfaces</h2>
<div class="panel panel-default">
<div class="panel-heading codesum"><span class="anchor" id="interface-command_fun"></span><h3>abstract interface
</h3></div>
<ul class="list-group">
<li class="list-group-item">
<h3>
public subroutine command_fun(command, ok)
</h3>
<h4>Arguments</h4>
<table class="table table-striped varlist">
<thead>
<tr>
<th>Type</th>
<th>Intent</th><th>Optional</th> <th>Attributes</th>
<th></th>
<th>Name</th>
<th></th>
</thead>
<tbody>
<tr>
<td>
<span class="anchor" ></span>
character,
</td>
<td>intent(in)</td>
<td></td> <td>
</td>
<td>::</td>
<td><strong>command</strong></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="anchor" ></span>
logical,
</td>
<td>intent(out)</td>
<td></td> <td>
</td>
<td>::</td>
<td><strong>ok</strong></td>
<td>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
</section>
<br>
<section>
<h2>Derived Types</h2>
<div class="panel panel-default">
<div class="panel-heading codesum">
<span class="anchor" id="type-llist"></span>
<h3>
type, public&nbsp;::&nbsp;
<a href='../type/llist.html'>llist</a>
</h3>
</div>
<div class="panel-body">
<h4>Type-Bound Procedures</h4>
<table class="table table-striped varlist">
<tbody>
<tr>
<td>
procedure
, public
:: <strong><a href='../type/llist.html#boundprocedure-iterate'>iterate</a></strong>
=>
<a href='../proc/iterate_ll.html'>iterate_ll</a>
<small>Function</small> </td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading codesum">
<span class="anchor" id="type-llist_node"></span>
<h3>
type, public&nbsp;::&nbsp;
<a href='../type/llist_node.html'>llist_node</a>
</h3>
</div>
<div class="panel-body">
</div>
</div>
</section>
<br>
<section>
<h2>Functions</h2>
<div class="panel panel-default">
<div class="panel-heading codesum"><span class="anchor" id="proc-iterate_ll"></span><h3>public function <a href='../proc/iterate_ll.html'>iterate_ll</a>(this, f) result(r)
</h3></div>
<div class="panel-body">
<h4>Arguments</h4>
<table class="table table-striped varlist">
<thead>
<tr>
<th>Type</th>
<th>Intent</th><th>Optional</th> <th>Attributes</th>
<th></th>
<th>Name</th>
<th></th>
</thead>
<tbody>
<tr>
<td>
<span class="anchor" ></span>
class(<a href='../type/llist.html'>llist</a>),
</td>
<td>intent(inout),</td>
<td></td> <td>
target
</td>
<td>::</td>
<td><strong>this</strong></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="anchor" ></span>
procedure(<a href='../interface/command_fun.html'>command_fun</a>)
</td>
<td></td>
<td></td> <td>
</td>
<td>::</td>
<td><strong>f</strong></td>
<td>
</td>
</tr>
</tbody>
</table>
<h4>
Return Value
<small>logical</small>
</h4>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading codesum"><span class="anchor" id="proc-size"></span><h3>public function <a href='../proc/size.html'>size</a>(lst)
</h3></div>
<div class="panel-body">
<h4>Arguments</h4>
<table class="table table-striped varlist">
<thead>
<tr>
<th>Type</th>
<th>Intent</th><th>Optional</th> <th>Attributes</th>
<th></th>
<th>Name</th>
<th></th>
</thead>
<tbody>
<tr>
<td>
<span class="anchor" ></span>
type(<a href='../type/llist.html'>llist</a>),
</td>
<td>intent(inout)</td>
<td></td> <td>
</td>
<td>::</td>
<td><strong>lst</strong></td>
<td>
</td>
</tr>
</tbody>
</table>
<h4>
Return Value
<small>integer</small>
</h4>
</div>
</div>
</section>
<br>
<section>
<h2>Subroutines</h2>
<div class="panel panel-default">
<div class="panel-heading codesum"><span class="anchor" id="proc-append"></span><h3>public subroutine <a href='../proc/append.html'>append</a>(lst, data)
</h3></div>
<div class="panel-body">
<h4>Arguments</h4>
<table class="table table-striped varlist">
<thead>
<tr>
<th>Type</th>
<th>Intent</th><th>Optional</th> <th>Attributes</th>
<th></th>
<th>Name</th>
<th></th>
</thead>
<tbody>
<tr>
<td>
<span class="anchor" ></span>
type(<a href='../type/llist.html'>llist</a>),
</td>
<td>intent(inout)</td>
<td></td> <td>
</td>
<td>::</td>
<td><strong>lst</strong></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="anchor" ></span>
character,
</td>
<td>intent(in)</td>
<td></td> <td>
</td>
<td>::</td>
<td><strong>data</strong></td>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading codesum"><span class="anchor" id="proc-clear"></span><h3>public subroutine <a href='../proc/clear.html'>clear</a>(lst)
</h3></div>
<div class="panel-body">
<h4>Arguments</h4>
<table class="table table-striped varlist">
<thead>
<tr>
<th>Type</th>
<th>Intent</th><th>Optional</th> <th>Attributes</th>
<th></th>
<th>Name</th>
<th></th>
</thead>
<tbody>
<tr>
<td>
<span class="anchor" ></span>
type(<a href='../type/llist.html'>llist</a>),
</td>
<td>intent(inout)</td>
<td></td> <td>
</td>
<td>::</td>
<td><strong>lst</strong></td>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading codesum"><span class="anchor" id="proc-print"></span><h3>public subroutine <a href='../proc/print.html'>print</a>(lst)
</h3></div>
<div class="panel-body">
<h4>Arguments</h4>
<table class="table table-striped varlist">
<thead>
<tr>
<th>Type</th>
<th>Intent</th><th>Optional</th> <th>Attributes</th>
<th></th>
<th>Name</th>
<th></th>
</thead>
<tbody>
<tr>
<td>
<span class="anchor" ></span>
type(<a href='../type/llist.html'>llist</a>),
</td>
<td>intent(in)</td>
<td></td> <td>
</td>
<td>::</td>
<td><strong>lst</strong></td>
<td>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<br>
</div>
</div>
<hr>
</div> <!-- /container -->
<footer>
<div class="container">
<div class="row">
<div class="col-xs-6 col-md-6"><p>hp was developed by sgeard<br>&copy; 2023
</p>
</div>
<div class="col-xs-6 col-md-6">
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
</p>
</div>
</div>
<br>
</div> <!-- /container -->
</footer>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!--
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
-->
<script src="../js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="../js/ie10-viewport-bug-workaround.js"></script>
<!-- MathJax JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: { extensions: ['AMSmath.js','AMSsymbols.js','noErrors.js','noUndefined.js'], equationNumbers: { autoNumber: 'AMS' } },
jax: ['input/TeX','input/MathML','output/HTML-CSS'],
extensions: ['tex2jax.js','mml2jax.js','MathMenu.js','MathZoom.js']
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script src="../tipuesearch/tipuesearch_content.js"></script>
<script src="../tipuesearch/tipuesearch_set.js"></script>
<script src="../tipuesearch/tipuesearch.js"></script>
</body>
</html>