Files
C-Plus-Plus/d7/da4/struct_list_node.html
2023-09-27 18:42:32 +00:00

192 lines
10 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>Algorithms_in_C++: ListNode Struct 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="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.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>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.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="projectalign">
<div id="projectname">Algorithms_in_C++<span id="projectnumber">&#160;1.0.0</span>
</div>
<div id="projectbrief">Set of algorithms implemented in C++.</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&amp;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&amp;dn=expat.txt MIT */
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('d7/da4/struct_list_node.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="../../dc/dec/struct_list_node-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">ListNode Struct Reference</div></div>
</div><!--header-->
<div class="contents">
<p>for IO operations
<a href="../../d7/da4/struct_list_node.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for ListNode:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d5/d1b/struct_list_node__coll__graph.svg" width="138" height="36"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3cfee2eb667c332dc32595208164ef0a" id="r_a3cfee2eb667c332dc32595208164ef0a"><td class="memItemLeft" align="right" valign="top"><a id="a3cfee2eb667c332dc32595208164ef0a" name="a3cfee2eb667c332dc32595208164ef0a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ListNode</b> ()=default</td></tr>
<tr class="memdesc:a3cfee2eb667c332dc32595208164ef0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">default constructor <br /></td></tr>
<tr class="separator:a3cfee2eb667c332dc32595208164ef0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaad9b553e2f936726f5b35ff2734125d" id="r_aaad9b553e2f936726f5b35ff2734125d"><td class="memItemLeft" align="right" valign="top"><a id="aaad9b553e2f936726f5b35ff2734125d" name="aaad9b553e2f936726f5b35ff2734125d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ListNode</b> (int x)</td></tr>
<tr class="memdesc:aaad9b553e2f936726f5b35ff2734125d"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor with value for node-&gt;val provided <br /></td></tr>
<tr class="separator:aaad9b553e2f936726f5b35ff2734125d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc97c5b9d2e7cc82d0718245688f6ff9" id="r_afc97c5b9d2e7cc82d0718245688f6ff9"><td class="memItemLeft" align="right" valign="top"><a id="afc97c5b9d2e7cc82d0718245688f6ff9" name="afc97c5b9d2e7cc82d0718245688f6ff9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ListNode</b> (int x, <a class="el" href="../../d7/da4/struct_list_node.html">ListNode</a> *<a class="el" href="../../d7/da4/struct_list_node.html#ad78b392c2ddc25c3243d0c2f30692fb1">next</a>)</td></tr>
<tr class="memdesc:afc97c5b9d2e7cc82d0718245688f6ff9"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor with values provided for node-&gt;val and node-&gt;next <br /></td></tr>
<tr class="separator:afc97c5b9d2e7cc82d0718245688f6ff9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a58389d1d1fc5430c2f4ce7c5d5dc48b3" id="r_a58389d1d1fc5430c2f4ce7c5d5dc48b3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/da4/struct_list_node.html#a58389d1d1fc5430c2f4ce7c5d5dc48b3">val</a> {0}</td></tr>
<tr class="memdesc:a58389d1d1fc5430c2f4ce7c5d5dc48b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">the value stored in the node <br /></td></tr>
<tr class="separator:a58389d1d1fc5430c2f4ce7c5d5dc48b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad78b392c2ddc25c3243d0c2f30692fb1" id="r_ad78b392c2ddc25c3243d0c2f30692fb1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/da4/struct_list_node.html">ListNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/da4/struct_list_node.html#ad78b392c2ddc25c3243d0c2f30692fb1">next</a> {nullptr}</td></tr>
<tr class="memdesc:ad78b392c2ddc25c3243d0c2f30692fb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer to the next node <br /></td></tr>
<tr class="separator:ad78b392c2ddc25c3243d0c2f30692fb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>for IO operations </p>
<p>for assert Definition for singly-linked list. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="ad78b392c2ddc25c3243d0c2f30692fb1" name="ad78b392c2ddc25c3243d0c2f30692fb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad78b392c2ddc25c3243d0c2f30692fb1">&#9670;&#160;</a></span>next</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="../../d7/da4/struct_list_node.html">ListNode</a>* ListNode::next {nullptr}</td>
</tr>
</table>
</div><div class="memdoc">
<p>pointer to the next node </p>
<div class="fragment"><div class="line"><span class="lineno"> 33</span>{<span class="keyword">nullptr</span>}; <span class="comment">///&lt; pointer to the next node</span></div>
</div><!-- fragment -->
</div>
</div>
<a id="a58389d1d1fc5430c2f4ce7c5d5dc48b3" name="a58389d1d1fc5430c2f4ce7c5d5dc48b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58389d1d1fc5430c2f4ce7c5d5dc48b3">&#9670;&#160;</a></span>val</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int ListNode::val {0}</td>
</tr>
</table>
</div><div class="memdoc">
<p>the value stored in the node </p>
<div class="fragment"><div class="line"><span class="lineno"> 32</span>{0}; <span class="comment">///&lt; the value stored in the node</span></div>
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>search/<a class="el" href="../../d8/dfa/median__search2_8cpp.html">median_search2.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../d7/da4/struct_list_node.html">ListNode</a></li>
<li class="footer">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 </li>
</ul>
</div>
</body>
</html>