mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-12 11:37:18 +08:00
Documentation for 8b1eab204b
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
<!-- HTML header for doxygen 1.12.0-->
|
||||
<!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>
|
||||
@@ -5,10 +6,15 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: data_structures::stack_using_queue::Stack Struct Reference</title>
|
||||
<title>TheAlgorithms/C++: data_structures::stack_using_queue::Stack Struct Reference</title>
|
||||
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
|
||||
<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>
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@xpack-3rd-party/doxygen-awesome-css@2.2.0-1/doxygen-awesome-darkmode-toggle.js"></script>
|
||||
<script type="text/javascript">
|
||||
DoxygenAwesomeDarkModeToggle.init()
|
||||
</script>
|
||||
<script type="text/javascript" src="../../clipboard.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
@@ -18,14 +24,24 @@
|
||||
<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 type="text/javascript">
|
||||
window.MathJax = {
|
||||
options: {
|
||||
ignoreHtmlClass: 'tex2jax_ignore',
|
||||
processHtmlClass: 'tex2jax_process'
|
||||
},
|
||||
loader: {
|
||||
load: ['[tex]/ams']
|
||||
},
|
||||
tex: {
|
||||
macros: {},
|
||||
packages: ['base','configmacros','ams']
|
||||
}
|
||||
};
|
||||
</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>
|
||||
<script type="text/javascript" id="MathJax-script" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../../doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
@@ -33,10 +49,11 @@ MathJax.Hub.Config({
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectlogo"><img alt="Logo" src="../../project_logo.png"/></td>
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Algorithms_in_C++<span id="projectnumber"> 1.0.0</span>
|
||||
<div id="projectname">TheAlgorithms/C++<span id="projectnumber"> 1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">Set of algorithms implemented in C++.</div>
|
||||
<div id="projectbrief">All the algorithms implemented in C++</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -117,7 +134,7 @@ $(function(){initNavTree('db/d5b/structdata__structures_1_1stack__using__queue_1
|
||||
<div class="dynheader">
|
||||
Collaboration diagram for data_structures::stack_using_queue::Stack:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d0/dea/structdata__structures_1_1stack__using__queue_1_1_stack__coll__graph.svg" width="163" height="244"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d0/dea/structdata__structures_1_1stack__using__queue_1_1_stack__coll__graph.svg" width="163" height="155"><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>
|
||||
@@ -136,19 +153,19 @@ Public Member Functions</h2></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:acf8ca54d5dd6676f255fff3dedacc7c6" id="r_acf8ca54d5dd6676f255fff3dedacc7c6"><td class="memItemLeft" align="right" valign="top"><a id="acf8ca54d5dd6676f255fff3dedacc7c6" name="acf8ca54d5dd6676f255fff3dedacc7c6"></a>
|
||||
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/queue.html">std::queue</a>< int64_t > </td><td class="memItemRight" valign="bottom"><b>main_q</b></td></tr>
|
||||
<tr class="memdesc:acf8ca54d5dd6676f255fff3dedacc7c6"><td class="mdescLeft"> </td><td class="mdescRight">stores the current state of the stack <br /></td></tr>
|
||||
<tr class="memitem:acf8ca54d5dd6676f255fff3dedacc7c6" id="r_acf8ca54d5dd6676f255fff3dedacc7c6"><td class="memItemLeft" align="right" valign="top">std::queue< int64_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a></td></tr>
|
||||
<tr class="memdesc:acf8ca54d5dd6676f255fff3dedacc7c6"><td class="mdescLeft"> </td><td class="mdescRight">stores the current state of the stack <br /></td></tr>
|
||||
<tr class="separator:acf8ca54d5dd6676f255fff3dedacc7c6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2f80f87fc6f6ded938426698bba89323" id="r_a2f80f87fc6f6ded938426698bba89323"><td class="memItemLeft" align="right" valign="top"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/queue.html">std::queue</a>< int64_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="#a2f80f87fc6f6ded938426698bba89323">auxiliary_q</a></td></tr>
|
||||
<tr class="memitem:a2f80f87fc6f6ded938426698bba89323" id="r_a2f80f87fc6f6ded938426698bba89323"><td class="memItemLeft" align="right" valign="top">std::queue< int64_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="#a2f80f87fc6f6ded938426698bba89323">auxiliary_q</a></td></tr>
|
||||
<tr class="separator:a2f80f87fc6f6ded938426698bba89323"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afdfd2f4418c70b1bda50f2c3e416d80b" id="r_afdfd2f4418c70b1bda50f2c3e416d80b"><td class="memItemLeft" align="right" valign="top"><a id="afdfd2f4418c70b1bda50f2c3e416d80b" name="afdfd2f4418c70b1bda50f2c3e416d80b"></a>
|
||||
uint32_t </td><td class="memItemRight" valign="bottom"><b>current_size</b> = 0</td></tr>
|
||||
<tr class="memdesc:afdfd2f4418c70b1bda50f2c3e416d80b"><td class="mdescLeft"> </td><td class="mdescRight">stores the current size of the stack <br /></td></tr>
|
||||
<tr class="memitem:afdfd2f4418c70b1bda50f2c3e416d80b" id="r_afdfd2f4418c70b1bda50f2c3e416d80b"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#afdfd2f4418c70b1bda50f2c3e416d80b">current_size</a> = 0</td></tr>
|
||||
<tr class="memdesc:afdfd2f4418c70b1bda50f2c3e416d80b"><td class="mdescLeft"> </td><td class="mdescRight">stores the current size of the stack <br /></td></tr>
|
||||
<tr class="separator:afdfd2f4418c70b1bda50f2c3e416d80b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p><a class="el" href="../../db/d5b/structdata__structures_1_1stack__using__queue_1_1_stack.html" title="Stack Class implementation for basic methods of Stack Data Structure.">Stack</a> Class implementation for basic methods of <a class="el" href="../../db/d5b/structdata__structures_1_1stack__using__queue_1_1_stack.html" title="Stack Class implementation for basic methods of Stack Data Structure.">Stack</a> Data Structure. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html#l00031">31</a> of file <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html">stack_using_queue.cpp</a>.</p>
|
||||
</div><h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a id="abdd461689df4983a3ad3b05d853cf5eb" name="abdd461689df4983a3ad3b05d853cf5eb"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#abdd461689df4983a3ad3b05d853cf5eb">◆ </a></span>pop()</h2>
|
||||
@@ -175,23 +192,18 @@ uint32_t </td><td class="memItemRight" valign="bottom"><b>current_size</b>
|
||||
|
||||
<p>Removes the topmost element from the stack. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html#l00062">62</a> of file <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html">stack_using_queue.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 62</span> {</div>
|
||||
<div class="line"><span class="lineno"> 63</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/queue/empty.html">empty</a>()) {</div>
|
||||
<div class="line"><span class="lineno"> 63</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>.empty()) {</div>
|
||||
<div class="line"><span class="lineno"> 64</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><span class="lineno"> 65</span> }</div>
|
||||
<div class="line"><span class="lineno"> 66</span> <a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/queue/pop.html">pop</a>();</div>
|
||||
<div class="line"><span class="lineno"> 66</span> <a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>.pop();</div>
|
||||
<div class="line"><span class="lineno"> 67</span> <a class="code hl_variable" href="#afdfd2f4418c70b1bda50f2c3e416d80b">current_size</a>--;</div>
|
||||
<div class="line"><span class="lineno"> 68</span> }</div>
|
||||
<div class="ttc" id="aempty_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/queue/empty.html">std::queue::empty</a></div><div class="ttdeci">T empty(T... args)</div></div>
|
||||
<div class="ttc" id="apop_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/queue/pop.html">std::queue::pop</a></div><div class="ttdeci">T pop(T... args)</div></div>
|
||||
<div class="ttc" id="astructdata__structures_1_1stack__using__queue_1_1_stack_html_acf8ca54d5dd6676f255fff3dedacc7c6"><div class="ttname"><a href="#acf8ca54d5dd6676f255fff3dedacc7c6">data_structures::stack_using_queue::Stack::main_q</a></div><div class="ttdeci">std::queue< int64_t > main_q</div><div class="ttdoc">stores the current state of the stack</div><div class="ttdef"><b>Definition</b> stack_using_queue.cpp:32</div></div>
|
||||
<div class="ttc" id="astructdata__structures_1_1stack__using__queue_1_1_stack_html_afdfd2f4418c70b1bda50f2c3e416d80b"><div class="ttname"><a href="#afdfd2f4418c70b1bda50f2c3e416d80b">data_structures::stack_using_queue::Stack::current_size</a></div><div class="ttdeci">uint32_t current_size</div><div class="ttdoc">stores the current size of the stack</div><div class="ttdef"><b>Definition</b> stack_using_queue.cpp:35</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../db/d5b/structdata__structures_1_1stack__using__queue_1_1_stack_abdd461689df4983a3ad3b05d853cf5eb_cgraph.svg" width="358" height="86"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
<div class="ttc" id="astructdata__structures_1_1stack__using__queue_1_1_stack_html_acf8ca54d5dd6676f255fff3dedacc7c6"><div class="ttname"><a href="#acf8ca54d5dd6676f255fff3dedacc7c6">data_structures::stack_using_queue::Stack::main_q</a></div><div class="ttdeci">std::queue< int64_t > main_q</div><div class="ttdoc">stores the current state of the stack</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d43/stack__using__queue_8cpp_source.html#l00032">stack_using_queue.cpp:32</a></div></div>
|
||||
<div class="ttc" id="astructdata__structures_1_1stack__using__queue_1_1_stack_html_afdfd2f4418c70b1bda50f2c3e416d80b"><div class="ttname"><a href="#afdfd2f4418c70b1bda50f2c3e416d80b">data_structures::stack_using_queue::Stack::current_size</a></div><div class="ttdeci">uint32_t current_size</div><div class="ttdoc">stores the current size of the stack</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d43/stack__using__queue_8cpp_source.html#l00035">stack_using_queue.cpp:35</a></div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="af04a8f3536a52d8c9916086b656eefc2" name="af04a8f3536a52d8c9916086b656eefc2"></a>
|
||||
@@ -225,25 +237,19 @@ Here is the call graph for this function:</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html#l00048">48</a> of file <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html">stack_using_queue.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 48</span> {</div>
|
||||
<div class="line"><span class="lineno"> 49</span> <a class="code hl_variable" href="#a2f80f87fc6f6ded938426698bba89323">auxiliary_q</a>.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/queue/push.html">push</a>(val);</div>
|
||||
<div class="line"><span class="lineno"> 50</span> <span class="keywordflow">while</span> (!<a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/queue/empty.html">empty</a>()) {</div>
|
||||
<div class="line"><span class="lineno"> 51</span> <a class="code hl_variable" href="#a2f80f87fc6f6ded938426698bba89323">auxiliary_q</a>.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/queue/push.html">push</a>(<a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/queue/front.html">front</a>());</div>
|
||||
<div class="line"><span class="lineno"> 52</span> <a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/queue/pop.html">pop</a>();</div>
|
||||
<div class="line"><span class="lineno"> 49</span> <a class="code hl_variable" href="#a2f80f87fc6f6ded938426698bba89323">auxiliary_q</a>.push(val);</div>
|
||||
<div class="line"><span class="lineno"> 50</span> <span class="keywordflow">while</span> (!<a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>.empty()) {</div>
|
||||
<div class="line"><span class="lineno"> 51</span> <a class="code hl_variable" href="#a2f80f87fc6f6ded938426698bba89323">auxiliary_q</a>.push(<a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>.front());</div>
|
||||
<div class="line"><span class="lineno"> 52</span> <a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>.pop();</div>
|
||||
<div class="line"><span class="lineno"> 53</span> }</div>
|
||||
<div class="line"><span class="lineno"> 54</span> <a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/swap.html">swap</a>(<a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>, <a class="code hl_variable" href="#a2f80f87fc6f6ded938426698bba89323">auxiliary_q</a>);</div>
|
||||
<div class="line"><span class="lineno"> 54</span> swap(<a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>, <a class="code hl_variable" href="#a2f80f87fc6f6ded938426698bba89323">auxiliary_q</a>);</div>
|
||||
<div class="line"><span class="lineno"> 55</span> <a class="code hl_variable" href="#afdfd2f4418c70b1bda50f2c3e416d80b">current_size</a>++;</div>
|
||||
<div class="line"><span class="lineno"> 56</span> }</div>
|
||||
<div class="ttc" id="afront_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/queue/front.html">std::queue::front</a></div><div class="ttdeci">T front(T... args)</div></div>
|
||||
<div class="ttc" id="apush_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/queue/push.html">std::queue::push</a></div><div class="ttdeci">T push(T... args)</div></div>
|
||||
<div class="ttc" id="astructdata__structures_1_1stack__using__queue_1_1_stack_html_a2f80f87fc6f6ded938426698bba89323"><div class="ttname"><a href="#a2f80f87fc6f6ded938426698bba89323">data_structures::stack_using_queue::Stack::auxiliary_q</a></div><div class="ttdeci">std::queue< int64_t > auxiliary_q</div><div class="ttdef"><b>Definition</b> stack_using_queue.cpp:33</div></div>
|
||||
<div class="ttc" id="aswap_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/swap.html">std::swap</a></div><div class="ttdeci">T swap(T... args)</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../db/d5b/structdata__structures_1_1stack__using__queue_1_1_stack_af04a8f3536a52d8c9916086b656eefc2_cgraph.svg" width="364" height="184"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
<div class="ttc" id="astructdata__structures_1_1stack__using__queue_1_1_stack_html_a2f80f87fc6f6ded938426698bba89323"><div class="ttname"><a href="#a2f80f87fc6f6ded938426698bba89323">data_structures::stack_using_queue::Stack::auxiliary_q</a></div><div class="ttdeci">std::queue< int64_t > auxiliary_q</div><div class="ttdef"><b>Definition</b> <a href="../../d7/d43/stack__using__queue_8cpp_source.html#l00033">stack_using_queue.cpp:33</a></div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="ac0ddec9ab8f778dad23ec446d7a77b39" name="ac0ddec9ab8f778dad23ec446d7a77b39"></a>
|
||||
@@ -271,6 +277,8 @@ Here is the call graph for this function:</div>
|
||||
|
||||
<p>Utility function to return the current size of the stack. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>current size of stack </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html#l00074">74</a> of file <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html">stack_using_queue.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 74</span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="#afdfd2f4418c70b1bda50f2c3e416d80b">current_size</a>; }</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
@@ -298,13 +306,10 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Returns the top most element of the stack </p><dl class="section return"><dt>Returns</dt><dd>top element of the queue </dd></dl>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 41</span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>.<a class="code hl_functionRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/queue/front.html">front</a>(); }</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../db/d5b/structdata__structures_1_1stack__using__queue_1_1_stack_a5540434e1b41245205eee86f664906f7_cgraph.svg" width="344" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html#l00041">41</a> of file <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html">stack_using_queue.cpp</a>.</p>
|
||||
<div class="fragment"><div class="line"><span class="lineno"> 41</span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="#acf8ca54d5dd6676f255fff3dedacc7c6">main_q</a>.front(); }</div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Data Documentation</h2>
|
||||
@@ -315,16 +320,54 @@ Here is the call graph for this function:</div>
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname"><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/queue.html">std::queue</a><int64_t> data_structures::stack_using_queue::Stack::auxiliary_q</td>
|
||||
<td class="memname">std::queue<int64_t> data_structures::stack_using_queue::Stack::auxiliary_q</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>used to carry out intermediate operations to implement stack </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html#l00033">33</a> of file <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html">stack_using_queue.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="afdfd2f4418c70b1bda50f2c3e416d80b" name="afdfd2f4418c70b1bda50f2c3e416d80b"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#afdfd2f4418c70b1bda50f2c3e416d80b">◆ </a></span>current_size</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint32_t data_structures::stack_using_queue::Stack::current_size = 0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>stores the current size of the stack </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html#l00035">35</a> of file <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html">stack_using_queue.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="acf8ca54d5dd6676f255fff3dedacc7c6" name="acf8ca54d5dd6676f255fff3dedacc7c6"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#acf8ca54d5dd6676f255fff3dedacc7c6">◆ </a></span>main_q</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">std::queue<int64_t> data_structures::stack_using_queue::Stack::main_q</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>stores the current state of the stack </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html#l00032">32</a> of file <a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html">stack_using_queue.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this struct was generated from the following file:<ul>
|
||||
<li>data_structures/<b>stack_using_queue.cpp</b></li>
|
||||
<li>data_structures/<a class="el" href="../../d7/d43/stack__using__queue_8cpp_source.html">stack_using_queue.cpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<map id="data_structures::stack_using_queue::Stack::top" name="data_structures::stack_using_queue::Stack::top">
|
||||
<area shape="rect" id="Node000001" title=" " alt="" coords="5,5,175,46"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/queue/front.html#" title=" " alt="" coords="223,13,339,38"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="175,23,207,23,207,28,175,28"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
b68e250986a42b2152ab3bae5043d846
|
||||
@@ -1,66 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: data_structures::stack_using_queue::Stack::top Pages: 1 -->
|
||||
<svg width="258pt" height="39pt"
|
||||
viewBox="0.00 0.00 258.25 38.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 34.5)">
|
||||
<title>data_structures::stack_using_queue::Stack::top</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="127,-30.5 0,-30.5 0,0 127,0 127,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::stack</text>
|
||||
<text text-anchor="middle" x="63.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_using_queue::Stack::top</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/front.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="250.25,-24.88 163,-24.88 163,-5.63 250.25,-5.63 250.25,-24.88"/>
|
||||
<text text-anchor="middle" x="206.62" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::front</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M127.22,-15.25C135.23,-15.25 143.38,-15.25 151.25,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="151.01,-18.75 161.01,-15.25 151.01,-11.75 151.01,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
<style type='text/css'>
|
||||
<![CDATA[
|
||||
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
||||
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
||||
]]>
|
||||
</style>
|
||||
<script type="application/ecmascript"><![CDATA[
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
highlightEdges();
|
||||
highlightAdjacentNodes();
|
||||
});
|
||||
]]></script>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.6 KiB |
@@ -1,40 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: data_structures::stack_using_queue::Stack::top Pages: 1 -->
|
||||
<svg width="258pt" height="39pt"
|
||||
viewBox="0.00 0.00 258.25 38.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 34.5)">
|
||||
<title>data_structures::stack_using_queue::Stack::top</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title=" ">
|
||||
<polygon fill="#999999" stroke="#666666" points="127,-30.5 0,-30.5 0,0 127,0 127,-30.5"/>
|
||||
<text text-anchor="start" x="8" y="-17" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::stack</text>
|
||||
<text text-anchor="middle" x="63.5" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">_using_queue::Stack::top</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/front.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="250.25,-24.88 163,-24.88 163,-5.63 250.25,-5.63 250.25,-24.88"/>
|
||||
<text text-anchor="middle" x="206.62" y="-11.38" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::front</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M127.22,-15.25C135.23,-15.25 143.38,-15.25 151.25,-15.25"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="151.01,-18.75 161.01,-15.25 151.01,-11.75 151.01,-18.75"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.9 KiB |
@@ -1,7 +0,0 @@
|
||||
<map id="data_structures::stack_using_queue::Stack::pop" name="data_structures::stack_using_queue::Stack::pop">
|
||||
<area shape="rect" id="Node000001" title="Removes the topmost element from the stack." alt="" coords="5,23,178,64"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/queue/empty.html#" title=" " alt="" coords="226,5,352,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="178,30,210,26,210,31,179,35"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/queue/pop.html#" title=" " alt="" coords="233,55,344,80"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="179,51,218,56,217,62,178,57"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
63f182dc7bc5944d594bac16a59bedfc
|
||||
@@ -1,84 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: data_structures::stack_using_queue::Stack::pop Pages: 1 -->
|
||||
<svg width="268pt" height="64pt"
|
||||
viewBox="0.00 0.00 268.00 64.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 60.25)">
|
||||
<title>data_structures::stack_using_queue::Stack::pop</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Removes the topmost element from the stack.">
|
||||
<polygon fill="#999999" stroke="#666666" points="129.25,-42.88 0,-42.88 0,-12.37 129.25,-12.37 129.25,-42.88"/>
|
||||
<text text-anchor="start" x="8" y="-29.38" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::stack</text>
|
||||
<text text-anchor="middle" x="64.62" y="-18.12" font-family="Helvetica,sans-Serif" font-size="10.00">_using_queue::Stack::pop</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/empty.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="260,-56.25 165.25,-56.25 165.25,-37 260,-37 260,-56.25"/>
|
||||
<text text-anchor="middle" x="212.62" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::empty</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M129.66,-35.96C137.59,-36.99 145.66,-38.04 153.49,-39.06"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.88,-42.51 163.25,-40.33 153.79,-35.57 152.88,-42.51"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/pop.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="254.38,-19.25 170.88,-19.25 170.88,0 254.38,0 254.38,-19.25"/>
|
||||
<text text-anchor="middle" x="212.62" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::pop</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M129.66,-19.73C139.58,-18.51 149.71,-17.26 159.33,-16.07"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="159.75,-19.55 169.25,-14.85 158.89,-12.6 159.75,-19.55"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
<style type='text/css'>
|
||||
<![CDATA[
|
||||
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
||||
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
||||
]]>
|
||||
</style>
|
||||
<script type="application/ecmascript"><![CDATA[
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
highlightEdges();
|
||||
highlightAdjacentNodes();
|
||||
});
|
||||
]]></script>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.5 KiB |
@@ -1,58 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: data_structures::stack_using_queue::Stack::pop Pages: 1 -->
|
||||
<svg width="268pt" height="64pt"
|
||||
viewBox="0.00 0.00 268.00 64.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 60.25)">
|
||||
<title>data_structures::stack_using_queue::Stack::pop</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Removes the topmost element from the stack.">
|
||||
<polygon fill="#999999" stroke="#666666" points="129.25,-42.88 0,-42.88 0,-12.37 129.25,-12.37 129.25,-42.88"/>
|
||||
<text text-anchor="start" x="8" y="-29.38" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::stack</text>
|
||||
<text text-anchor="middle" x="64.62" y="-18.12" font-family="Helvetica,sans-Serif" font-size="10.00">_using_queue::Stack::pop</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/empty.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="260,-56.25 165.25,-56.25 165.25,-37 260,-37 260,-56.25"/>
|
||||
<text text-anchor="middle" x="212.62" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::empty</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M129.66,-35.96C137.59,-36.99 145.66,-38.04 153.49,-39.06"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="152.88,-42.51 163.25,-40.33 153.79,-35.57 152.88,-42.51"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/pop.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="254.38,-19.25 170.88,-19.25 170.88,0 254.38,0 254.38,-19.25"/>
|
||||
<text text-anchor="middle" x="212.62" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::pop</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M129.66,-19.73C139.58,-18.51 149.71,-17.26 159.33,-16.07"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="159.75,-19.55 169.25,-14.85 158.89,-12.6 159.75,-19.55"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.7 KiB |
@@ -1,11 +0,0 @@
|
||||
<map id="data_structures::stack_using_queue::Stack::push" name="data_structures::stack_using_queue::Stack::push">
|
||||
<area shape="rect" id="Node000001" title="Inserts an element to the top of the stack." alt="" coords="5,72,185,113"/>
|
||||
<area shape="rect" id="Node000002" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/queue/empty.html#" title=" " alt="" coords="233,5,359,31"/>
|
||||
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="151,69,244,34,246,39,153,74"/>
|
||||
<area shape="rect" id="Node000003" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/queue/front.html#" title=" " alt="" coords="238,55,354,80"/>
|
||||
<area shape="poly" id="edge2_Node000001_Node000003" title=" " alt="" coords="185,79,222,74,223,79,185,84"/>
|
||||
<area shape="rect" id="Node000004" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/queue/pop.html#" title=" " alt="" coords="240,104,352,130"/>
|
||||
<area shape="poly" id="edge3_Node000001_Node000004" title=" " alt="" coords="185,101,226,106,225,111,185,106"/>
|
||||
<area shape="rect" id="Node000005" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/queue/push.html#" title=" " alt="" coords="237,153,355,179"/>
|
||||
<area shape="poly" id="edge4_Node000001_Node000005" title=" " alt="" coords="154,111,245,145,243,150,152,116"/>
|
||||
</map>
|
||||
@@ -1 +0,0 @@
|
||||
cc8bb8efb3ddbc23ab8df81cc7854e37
|
||||
@@ -1,120 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: data_structures::stack_using_queue::Stack::push Pages: 1 -->
|
||||
<svg width="273pt" height="138pt"
|
||||
viewBox="0.00 0.00 273.25 138.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
.node, .edge {opacity: 0.7;}
|
||||
.node.selected, .edge.selected {opacity: 1;}
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 134.25)">
|
||||
<title>data_structures::stack_using_queue::Stack::push</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Inserts an element to the top of the stack.">
|
||||
<polygon fill="#999999" stroke="#666666" points="134.5,-79.88 0,-79.88 0,-49.38 134.5,-49.38 134.5,-79.88"/>
|
||||
<text text-anchor="start" x="8" y="-66.38" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::stack</text>
|
||||
<text text-anchor="middle" x="67.25" y="-55.12" font-family="Helvetica,sans-Serif" font-size="10.00">_using_queue::Stack::push</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/empty.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="265.25,-130.25 170.5,-130.25 170.5,-111 265.25,-111 265.25,-130.25"/>
|
||||
<text text-anchor="middle" x="217.88" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::empty</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M110.05,-80.37C131.98,-88.64 158.62,-98.68 179.81,-106.66"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="178.34,-109.84 188.93,-110.09 180.8,-103.29 178.34,-109.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/front.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="261.5,-93.25 174.25,-93.25 174.25,-74 261.5,-74 261.5,-93.25"/>
|
||||
<text text-anchor="middle" x="217.88" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::front</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M134.74,-73.12C144.08,-74.32 153.6,-75.54 162.68,-76.7"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="162.04,-80.14 172.4,-77.94 162.93,-73.2 162.04,-80.14"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/pop.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="259.62,-56.25 176.12,-56.25 176.12,-37 259.62,-37 259.62,-56.25"/>
|
||||
<text text-anchor="middle" x="217.88" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::pop</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M134.74,-56.57C144.85,-55.35 155.15,-54.1 164.9,-52.92"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="165.02,-56.43 174.52,-51.75 164.18,-49.48 165.02,-56.43"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/push.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="262.25,-19.25 173.5,-19.25 173.5,0 262.25,0 262.25,-19.25"/>
|
||||
<text text-anchor="middle" x="217.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::push</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node5 -->
|
||||
<g id="edge4_Node000001_Node000005" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M110.44,-49.01C131.98,-41.04 157.96,-31.43 178.87,-23.69"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="180.01,-27 188.17,-20.25 177.58,-20.43 180.01,-27"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
<style type='text/css'>
|
||||
<![CDATA[
|
||||
[data-mouse-over-selected='false'] { opacity: 0.7; }
|
||||
[data-mouse-over-selected='true'] { opacity: 1.0; }
|
||||
]]>
|
||||
</style>
|
||||
<script type="application/ecmascript"><![CDATA[
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
highlightEdges();
|
||||
highlightAdjacentNodes();
|
||||
});
|
||||
]]></script>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 5.2 KiB |
@@ -1,94 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
|
||||
-->
|
||||
<!-- Title: data_structures::stack_using_queue::Stack::push Pages: 1 -->
|
||||
<svg width="273pt" height="138pt"
|
||||
viewBox="0.00 0.00 273.25 138.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 134.25)">
|
||||
<title>data_structures::stack_using_queue::Stack::push</title>
|
||||
<!-- Node1 -->
|
||||
<g id="Node000001" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_Node000001"><a xlink:title="Inserts an element to the top of the stack.">
|
||||
<polygon fill="#999999" stroke="#666666" points="134.5,-79.88 0,-79.88 0,-49.38 134.5,-49.38 134.5,-79.88"/>
|
||||
<text text-anchor="start" x="8" y="-66.38" font-family="Helvetica,sans-Serif" font-size="10.00">data_structures::stack</text>
|
||||
<text text-anchor="middle" x="67.25" y="-55.12" font-family="Helvetica,sans-Serif" font-size="10.00">_using_queue::Stack::push</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="Node000002" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/empty.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="265.25,-130.25 170.5,-130.25 170.5,-111 265.25,-111 265.25,-130.25"/>
|
||||
<text text-anchor="middle" x="217.88" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::empty</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1_Node000001_Node000002" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M110.05,-80.37C131.98,-88.64 158.62,-98.68 179.81,-106.66"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="178.34,-109.84 188.93,-110.09 180.8,-103.29 178.34,-109.84"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="Node000003" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/front.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="261.5,-93.25 174.25,-93.25 174.25,-74 261.5,-74 261.5,-93.25"/>
|
||||
<text text-anchor="middle" x="217.88" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::front</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2_Node000001_Node000003" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M134.74,-73.12C144.08,-74.32 153.6,-75.54 162.68,-76.7"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="162.04,-80.14 172.4,-77.94 162.93,-73.2 162.04,-80.14"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="Node000004" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/pop.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="259.62,-56.25 176.12,-56.25 176.12,-37 259.62,-37 259.62,-56.25"/>
|
||||
<text text-anchor="middle" x="217.88" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::pop</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3_Node000001_Node000004" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M134.74,-56.57C144.85,-55.35 155.15,-54.1 164.9,-52.92"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="165.02,-56.43 174.52,-51.75 164.18,-49.48 165.02,-56.43"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="Node000005" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_Node000005"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/queue/push.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="#666666" points="262.25,-19.25 173.5,-19.25 173.5,0 262.25,0 262.25,-19.25"/>
|
||||
<text text-anchor="middle" x="217.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::queue::push</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node5 -->
|
||||
<g id="edge4_Node000001_Node000005" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
|
||||
<path fill="none" stroke="#63b8ff" d="M110.44,-49.01C131.98,-41.04 157.96,-31.43 178.87,-23.69"/>
|
||||
<polygon fill="#63b8ff" stroke="#63b8ff" points="180.01,-27 188.17,-20.25 177.58,-20.43 180.01,-27"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.4 KiB |
Reference in New Issue
Block a user