diff options
Diffstat (limited to 'docs/doxygen/nel/a02663.html')
-rw-r--r-- | docs/doxygen/nel/a02663.html | 617 |
1 files changed, 617 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02663.html b/docs/doxygen/nel/a02663.html new file mode 100644 index 00000000..9b452ad3 --- /dev/null +++ b/docs/doxygen/nel/a02663.html @@ -0,0 +1,617 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NLAISCRIPT::CIndexStackPointer class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLAISCRIPT::CIndexStackPointer Class Reference</h1><code>#include <<a class="el" href="a05572.html">codage.h</a>></code> +<p> +<p>Inheritance diagram for NLAISCRIPT::CIndexStackPointer: +<p><center><img src="a02663.png" usemap="#NLAISCRIPT::CIndexStackPointer_map" border="0" alt=""></center> +<map name="NLAISCRIPT::CIndexStackPointer_map"> +<area href="a03436.html" alt="NLAISCRIPT::CStackPointer" shape="rect" coords="0,56,199,80"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Class <a class="el" href="a02663.html">CIndexStackPointer</a>.<p> +Defined a basic fonctionality of an index pointer.<p> +<dl compact><dt><b>Author:</b></dt><dd>Chafik sameh <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2000</dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00052">52</a> of file <a class="el" href="a05572.html">codage.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointera0">CIndexStackPointer</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CStackPointera1">clear</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Reinitializ the stack manager. <a href="#NLAISCRIPT_1_1CStackPointera1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CStackPointera3">mark</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the last mark. <a href="#NLAISCRIPT_1_1CStackPointera3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CStackPointera4">markSize</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CStackPointera5">operator int</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">To get the pointer. <a href="#NLAISCRIPT_1_1CStackPointera5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CStackPointera7">operator++</a> (int)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">To inc the pointer. <a href="#NLAISCRIPT_1_1CStackPointera7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CStackPointera8">operator+=</a> (int k)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">To add by k range. <a href="#NLAISCRIPT_1_1CStackPointera8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointera7">operator--</a> (int)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">To dec the pointer. <a href="#NLAISCRIPT_1_1CIndexStackPointera7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointera8">operator-=</a> (int k)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">To dec by k range. <a href="#NLAISCRIPT_1_1CIndexStackPointera8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual int </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CStackPointera12">popMark</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the last mark pushed in the list. <a href="#NLAISCRIPT_1_1CStackPointera12"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CStackPointera13">pushMark</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a mark to store the pointer possition in a list. <a href="#NLAISCRIPT_1_1CStackPointera13"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointera11">~CIndexStackPointer</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Index of the stack pointer. <a href="#NLAISCRIPT_1_1CStackPointerp0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::list< int > </td><td class="memItemRight" valign=bottom><a class="el" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointerr0">_Marque</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">List of mark for the pop-push mark method. <a href="#NLAISCRIPT_1_1CIndexStackPointerr0"></a><br><br></td></tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLAISCRIPT_1_1CIndexStackPointera0" doxytag="NLAISCRIPT::CIndexStackPointer::CIndexStackPointer" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAISCRIPT::CIndexStackPointer::CIndexStackPointer </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00063">63</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00056">_Sp</a>. +<p> +<div class="fragment"><pre>00063 :<a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a>(0) +00064 { +00065 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CIndexStackPointera11" doxytag="NLAISCRIPT::CIndexStackPointer::~CIndexStackPointer" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual NLAISCRIPT::CIndexStackPointer::~<a class="el" href="a02663.html">CIndexStackPointer</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00130">130</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +<div class="fragment"><pre>00131 { +00132 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera1" doxytag="NLAISCRIPT::CIndexStackPointer::clear" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLAISCRIPT::CIndexStackPointer::clear </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Reinitializ the stack manager. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00124">124</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00060">_Marque</a>, and <a class="el" href="a05572.html#l00056">_Sp</a>. +<p> +Referenced by <a class="el" href="a06755.html#l00596">NLAISCRIPT::CCompilateur::initParam()</a>. +<p> +<div class="fragment"><pre>00125 { +00126 <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> = 0; +00127 <a class="code" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointerr0">_Marque</a>.clear(); +00128 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera3" doxytag="NLAISCRIPT::CIndexStackPointer::mark" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual int NLAISCRIPT::CIndexStackPointer::mark </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the last mark. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00118">118</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00060">_Marque</a>. +<p> +Referenced by <a class="el" href="a06121.html#l01394">NLAISCRIPT::CFreeAlloc::getDebugResult()</a>, and <a class="el" href="a06120.html#l00538">NLAISCRIPT::CFreeAllocDebug::getDebugResult()</a>. +<p> +<div class="fragment"><pre>00119 { +00120 <span class="keywordflow">return</span> <a class="code" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointerr0">_Marque</a>.back(); +00121 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera4" doxytag="NLAISCRIPT::CIndexStackPointer::markSize" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual int NLAISCRIPT::CIndexStackPointer::markSize </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00112">112</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00060">_Marque</a>. +<p> +<div class="fragment"><pre>00113 { +00114 <span class="keywordflow">return</span> <a class="code" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointerr0">_Marque</a>.size(); +00115 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera5" doxytag="NLAISCRIPT::CIndexStackPointer::operator int" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual NLAISCRIPT::CIndexStackPointer::operator int </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +To get the pointer. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00068">68</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00056">_Sp</a>. +<p> +<div class="fragment"><pre>00069 { +00070 <span class="keywordflow">return</span> <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a>; +00071 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera7" doxytag="NLAISCRIPT::CIndexStackPointer::operator++" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLAISCRIPT::CIndexStackPointer::operator++ </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +To inc the pointer. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00074">74</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00056">_Sp</a>. +<p> +<div class="fragment"><pre>00075 { +00076 <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> ++; +00077 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera8" doxytag="NLAISCRIPT::CIndexStackPointer::operator+=" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLAISCRIPT::CIndexStackPointer::operator+= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>k</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +To add by k range. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00086">86</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00056">_Sp</a>. +<p> +<div class="fragment"><pre>00087 { +00088 <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> += k; +00089 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CIndexStackPointera7" doxytag="NLAISCRIPT::CIndexStackPointer::operator--" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLAISCRIPT::CIndexStackPointer::operator-- </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +To dec the pointer. +<p> + +<p> +Reimplemented in <a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointera9">NLAISCRIPT::CStackPointer</a>. +<p> +Definition at line <a class="el" href="a05572.html#l00080">80</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00056">_Sp</a>. +<p> +<div class="fragment"><pre>00081 { +00082 <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> --; +00083 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CIndexStackPointera8" doxytag="NLAISCRIPT::CIndexStackPointer::operator-=" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLAISCRIPT::CIndexStackPointer::operator-= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>k</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +To dec by k range. +<p> + +<p> +Reimplemented in <a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointera10">NLAISCRIPT::CStackPointer</a>. +<p> +Definition at line <a class="el" href="a05572.html#l00092">92</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00056">_Sp</a>. +<p> +<div class="fragment"><pre>00093 { +00094 <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> -= k; +00095 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera12" doxytag="NLAISCRIPT::CIndexStackPointer::popMark" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual int NLAISCRIPT::CIndexStackPointer::popMark </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the last mark pushed in the list. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00104">104</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00060">_Marque</a>. +<p> +Referenced by <a class="el" href="a06755.html#l00953">NLAISCRIPT::CCompilateur::getCode()</a>, <a class="el" href="a06755.html#l00097">NLAISCRIPT::CCompilateur::ifInterrogationEnd()</a>, <a class="el" href="a06755.html#l00079">NLAISCRIPT::CCompilateur::ifInterrogationPoint()</a>, <a class="el" href="a06755.html#l00036">NLAISCRIPT::CCompilateur::interrogationEnd()</a>, <a class="el" href="a06121.html#l01387">NLAISCRIPT::CFreeAlloc::runOpCode()</a>, and <a class="el" href="a06120.html#l00526">NLAISCRIPT::CFreeAllocDebug::runOpCode()</a>. +<p> +<div class="fragment"><pre>00105 { +00106 <span class="keywordtype">int</span> i = 0; +00107 i = <a class="code" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointerr0">_Marque</a>.back(); +00108 <a class="code" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointerr0">_Marque</a>.pop_back(); +00109 <span class="keywordflow">return</span> i; +00110 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera13" doxytag="NLAISCRIPT::CIndexStackPointer::pushMark" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLAISCRIPT::CIndexStackPointer::pushMark </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add a mark to store the pointer possition in a list. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00098">98</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00060">_Marque</a>, and <a class="el" href="a05572.html#l00056">_Sp</a>. +<p> +Referenced by <a class="el" href="a06755.html#l00063">NLAISCRIPT::CCompilateur::ifInterrogation()</a>, <a class="el" href="a06755.html#l00079">NLAISCRIPT::CCompilateur::ifInterrogationPoint()</a>, <a class="el" href="a06755.html#l00596">NLAISCRIPT::CCompilateur::initParam()</a>, and <a class="el" href="a06121.html#l01337">NLAISCRIPT::CMarkAlloc::runOpCode()</a>. +<p> +<div class="fragment"><pre>00099 { +00100 <a class="code" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointerr0">_Marque</a>.push_back(_Sp); +00101 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLAISCRIPT_1_1CIndexStackPointerr0" doxytag="NLAISCRIPT::CIndexStackPointer::_Marque" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::list<int> <a class="el" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointerr0">NLAISCRIPT::CIndexStackPointer::_Marque</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +List of mark for the pop-push mark method. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00060">60</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +Referenced by <a class="el" href="a05572.html#l00124">clear()</a>, <a class="el" href="a05572.html#l00118">mark()</a>, <a class="el" href="a05572.html#l00112">markSize()</a>, <a class="el" href="a05572.html#l00104">popMark()</a>, and <a class="el" href="a05572.html#l00098">pushMark()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointerp0" doxytag="NLAISCRIPT::CIndexStackPointer::_Sp" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> int <a class="el" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">NLAISCRIPT::CIndexStackPointer::_Sp</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Index of the stack pointer. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00056">56</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +Referenced by <a class="el" href="a05572.html#l00063">CIndexStackPointer()</a>, <a class="el" href="a05572.html#l00124">clear()</a>, <a class="el" href="a05572.html#l00068">operator int()</a>, <a class="el" href="a05572.html#l00074">operator++()</a>, <a class="el" href="a05572.html#l00086">operator+=()</a>, <a class="el" href="a05572.html#l00080">operator--()</a>, <a class="el" href="a05572.html#l00092">operator-=()</a>, and <a class="el" href="a05572.html#l00098">pushMark()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="a05572.html">codage.h</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 11:43:39 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |