diff options
Diffstat (limited to 'docs/doxygen/nel/a03436.html')
-rw-r--r-- | docs/doxygen/nel/a03436.html | 1179 |
1 files changed, 1179 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03436.html b/docs/doxygen/nel/a03436.html new file mode 100644 index 00000000..632dda65 --- /dev/null +++ b/docs/doxygen/nel/a03436.html @@ -0,0 +1,1179 @@ +<!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::CStackPointer 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::CStackPointer Class Reference</h1><code>#include <<a class="el" href="a05572.html">codage.h</a>></code> +<p> +<p>Inheritance diagram for NLAISCRIPT::CStackPointer: +<p><center><img src="a03436.png" usemap="#NLAISCRIPT::CStackPointer_map" border="0" alt=""></center> +<map name="NLAISCRIPT::CStackPointer_map"> +<area href="a02663.html" alt="NLAISCRIPT::CIndexStackPointer" shape="rect" coords="0,0,199,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Class <a class="el" href="a03436.html">CStackPointer</a>.<p> +Defined a basic fonctionality of a stack 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#l00148">148</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>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointera0">addStack</a> (int bp)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set an bp shift to relative stack pointer _Bp. <a href="#NLAISCRIPT_1_1CStackPointera0"></a><br><br></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> </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointera2">CStackPointer</a> (int <a class="el" href="a04223.html#a577">count</a>=1024 *8)</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> </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointera6">operator NLAIAGENT::IObjectIA *</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the IObjectIA pointer in current position. <a href="#NLAISCRIPT_1_1CStackPointera6"></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="a03436.html#NLAISCRIPT_1_1CStackPointera9">operator--</a> (int)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Dec the current position of the stack point by one. <a href="#NLAISCRIPT_1_1CStackPointera9"></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="a03436.html#NLAISCRIPT_1_1CStackPointera10">operator-=</a> (int k)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Dec the current position of the stack point by k unite. <a href="#NLAISCRIPT_1_1CStackPointera10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> *& </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointera11">operator[]</a> (int i)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the pointer in the position i. <a href="#NLAISCRIPT_1_1CStackPointera11"></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>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointera14">restoreShift</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">restore the last _Sh shift to the stack pointer. <a href="#NLAISCRIPT_1_1CStackPointera14"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointera15">restoreShiftState</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">if there is any _Sh shift. <a href="#NLAISCRIPT_1_1CStackPointera15"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointera16">restoreStack</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">restore the last _Bp shift to the stack pointer. <a href="#NLAISCRIPT_1_1CStackPointera16"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointera17">restoreStackState</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">if there is any _Bp shift. <a href="#NLAISCRIPT_1_1CStackPointera17"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointera18">setShift</a> (int <a class="el" href="a04223.html#a626">s</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set an s shift to relative stack pointer _Sh. <a href="#NLAISCRIPT_1_1CStackPointera18"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointera19">~CStackPointer</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>int </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointerr0">_Bp</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">_Bp is a relative pointer to upright the stack point at the entry point of a methode. <a href="#NLAISCRIPT_1_1CStackPointerr0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointerr1">_Count</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">the count of allocation table. <a href="#NLAISCRIPT_1_1CStackPointerr1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::list< int > </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointerr2">_Decalage</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">list to storager the last shift release in _Bp <a href="#NLAISCRIPT_1_1CStackPointerr2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointerr3">_Sh</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">_Sh is a relative pointer to upright the stack after allocat the argument of a methode. <a href="#NLAISCRIPT_1_1CStackPointerr3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::list< int > </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointerr4">_Shift</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">list to storager the last shift release in _Sh <a href="#NLAISCRIPT_1_1CStackPointerr4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> ** </td><td class="memItemRight" valign=bottom><a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">this IObjectIA table have _Count size. <a href="#NLAISCRIPT_1_1CStackPointerr5"></a><br><br></td></tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera2" doxytag="NLAISCRIPT::CStackPointer::CStackPointer" ></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::CStackPointer::CStackPointer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>count</em> = 1024*8 </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#l00168">168</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00154">_Bp</a>, <a class="el" href="a05572.html#l00157">_Sh</a>, and <a class="el" href="a05646.html#l00240">count</a>. +<p> +<div class="fragment"><pre>00169 { +00170 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr1">_Count</a> = <a class="code" href="a04223.html#a577">count</a>; +00171 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a> = <span class="keyword">new</span> <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *[ <a class="code" href="a04223.html#a577">count</a> ]; +00172 <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i = 0; i < <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr1">_Count</a>; i ++) +00173 { +00174 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>[i] = NULL; +00175 } +00176 <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> = 0; +00177 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr0">_Bp</a> = 0; +00178 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr3">_Sh</a> = 0; +00179 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera19" doxytag="NLAISCRIPT::CStackPointer::~CStackPointer" ></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::CStackPointer::~<a class="el" href="a03436.html">CStackPointer</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]</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#l00293">293</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +<div class="fragment"><pre>00294 { +00295 <span class="keywordflow">if</span>(<a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>) +00296 { +00297 +00298 <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i = <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr0">_Bp</a>; i < (<a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> + _Bp); i ++) +00299 { +00300 <span class="keywordflow">if</span>(<a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>[i] != NULL) +00301 { +00302 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>[i]-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a>(); +00303 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>[i] = NULL; +00304 } +00305 } +00306 <span class="keyword">delete</span> []<a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>; +00307 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a> = NULL; +00308 } +00309 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera0" doxytag="NLAISCRIPT::CStackPointer::addStack" ></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::CStackPointer::addStack </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>bp</em> </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> +set an bp shift to relative stack pointer _Bp. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00245">245</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +Referenced by <a class="el" href="a06124.html#l00080">NLAISCRIPT::CMethodContextDebug::saveContext()</a>, and <a class="el" href="a06124.html#l00041">NLAISCRIPT::CMethodContext::saveContext()</a>. +<p> +<div class="fragment"><pre>00246 { +00247 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr0">_Bp</a> += bp; +00248 <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> -= bp; +00249 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr2">_Decalage</a>.push_back(bp); +00250 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera1" doxytag="NLAISCRIPT::CStackPointer::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, inherited]</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">NLAISCRIPT::CIndexStackPointer::_Marque</a>, and <a class="el" href="a05572.html#l00056">NLAISCRIPT::CIndexStackPointer::_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 _Marque.clear(); +00128 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera3" doxytag="NLAISCRIPT::CStackPointer::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, inherited]</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">NLAISCRIPT::CIndexStackPointer::_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> _Marque.back(); +00121 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera4" doxytag="NLAISCRIPT::CStackPointer::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, inherited]</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">NLAISCRIPT::CIndexStackPointer::_Marque</a>. +<p> +<div class="fragment"><pre>00113 { +00114 <span class="keywordflow">return</span> _Marque.size(); +00115 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera5" doxytag="NLAISCRIPT::CStackPointer::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, inherited]</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">NLAISCRIPT::CIndexStackPointer::_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_1CStackPointera6" doxytag="NLAISCRIPT::CStackPointer::operator NLAIAGENT::IObjectIA *" ></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::CStackPointer::operator <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</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]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the IObjectIA pointer in current position. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00194">194</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00154">_Bp</a>, <a class="el" href="a05572.html#l00157">_Sh</a>, and <a class="el" href="a05572.html#l00194">operator NLAIAGENT::IObjectIA *()</a>. +<p> +Referenced by <a class="el" href="a05572.html#l00194">operator NLAIAGENT::IObjectIA *()</a>. +<p> +<div class="fragment"><pre>00195 { +00196 <span class="preprocessor">#ifdef NL_DEBUG</span> +00197 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( (<a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr0">_Bp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr3">_Sh</a>) >= <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr1">_Count</a> ) +00198 { +00199 <span class="keywordflow">throw</span> <a class="code" href="a02485.html">NLAIE::CExceptionIndexError</a>(); +00200 } +00201 <span class="preprocessor">#endif </span> +00202 <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>[<a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr0">_Bp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr3">_Sh</a>]; +00203 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera7" doxytag="NLAISCRIPT::CStackPointer::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, inherited]</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">NLAISCRIPT::CIndexStackPointer::_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::CStackPointer::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, inherited]</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">NLAISCRIPT::CIndexStackPointer::_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_1CStackPointera9" doxytag="NLAISCRIPT::CStackPointer::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::CStackPointer::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> +Dec the current position of the stack point by one. +<p> + +<p> +Reimplemented from <a class="el" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointera7">NLAISCRIPT::CIndexStackPointer</a>. +<p> +Definition at line <a class="el" href="a05572.html#l00206">206</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +<div class="fragment"><pre>00207 { +00208 <span class="preprocessor">#ifdef NL_DEBUG</span> +00209 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( (<a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr0">_Bp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr3">_Sh</a>) >= <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr1">_Count</a> ) +00210 { +00211 <span class="keywordflow">throw</span> <a class="code" href="a02485.html">NLAIE::CExceptionIndexError</a>(); +00212 } +00213 <span class="preprocessor">#endif </span> +00214 <span class="preprocessor"></span> <span class="keywordtype">int</span> i = <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr0">_Bp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr3">_Sh</a>; +00215 <span class="keywordflow">if</span>(<a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>[i]) +00216 { +00217 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>[i]-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a>(); +00218 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>[i] = NULL; +00219 } +00220 <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> --; +00221 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera10" doxytag="NLAISCRIPT::CStackPointer::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::CStackPointer::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> +Dec the current position of the stack point by k unite. +<p> + +<p> +Reimplemented from <a class="el" href="a02663.html#NLAISCRIPT_1_1CIndexStackPointera8">NLAISCRIPT::CIndexStackPointer</a>. +<p> +Definition at line <a class="el" href="a05572.html#l00224">224</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +<div class="fragment"><pre>00225 { +00226 <span class="preprocessor">#ifdef NL_DEBUG</span> +00227 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( (<a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr0">_Bp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr3">_Sh</a>) >= <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr1">_Count</a> ) +00228 { +00229 <span class="keywordflow">throw</span> <a class="code" href="a02485.html">NLAIE::CExceptionIndexError</a>(); +00230 } +00231 <span class="preprocessor">#endif </span> +00232 <span class="preprocessor"></span> <span class="keywordtype">int</span> n = <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr0">_Bp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr3">_Sh</a>; +00233 <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i = n - k; i < n; i ++) +00234 { +00235 <span class="keywordflow">if</span>(<a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>[i]) +00236 { +00237 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>[i]-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a>(); +00238 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>[i] = NULL; +00239 } +00240 } +00241 <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> -= k; +00242 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera11" doxytag="NLAISCRIPT::CStackPointer::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"> <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a>*& NLAISCRIPT::CStackPointer::operator[] </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>i</em> </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> +Get the pointer in the position i. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00182">182</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05572.html#l00154">_Bp</a>, and <a class="el" href="a05572.html#l00157">_Sh</a>. +<p> +<div class="fragment"><pre>00183 { +00184 <span class="preprocessor">#ifdef NL_DEBUG</span> +00185 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( (<a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr0">_Bp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr3">_Sh</a>) >= <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr1">_Count</a> ) +00186 { +00187 <span class="keywordflow">throw</span> <a class="code" href="a02485.html">NLAIE::CExceptionIndexError</a>(); +00188 } +00189 <span class="preprocessor">#endif </span> +00190 <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">_Stack</a>[i + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr0">_Bp</a> + <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr3">_Sh</a>]; +00191 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera12" doxytag="NLAISCRIPT::CStackPointer::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, inherited]</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">NLAISCRIPT::CIndexStackPointer::_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 = _Marque.back(); +00108 _Marque.pop_back(); +00109 <span class="keywordflow">return</span> i; +00110 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera13" doxytag="NLAISCRIPT::CStackPointer::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, inherited]</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">NLAISCRIPT::CIndexStackPointer::_Marque</a>, and <a class="el" href="a05572.html#l00056">NLAISCRIPT::CIndexStackPointer::_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 _Marque.push_back(_Sp); +00101 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera14" doxytag="NLAISCRIPT::CStackPointer::restoreShift" ></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::CStackPointer::restoreShift </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> +restore the last _Sh shift to the stack pointer. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00272">272</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05646.html#l00977">s</a>. +<p> +Referenced by <a class="el" href="a06755.html#l00953">NLAISCRIPT::CCompilateur::getCode()</a>, <a class="el" href="a06124.html#l00103">NLAISCRIPT::CMethodContextDebug::loadContext()</a>, <a class="el" href="a06124.html#l00064">NLAISCRIPT::CMethodContext::loadContext()</a>, and <a class="el" href="a06755.html#l00608">NLAISCRIPT::CCompilateur::registerMethod()</a>. +<p> +<div class="fragment"><pre>00273 { +00274 <span class="keywordtype">int</span> <a class="code" href="a04223.html#a626">s</a> = <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr4">_Shift</a>.back(); +00275 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr4">_Shift</a>.pop_back(); +00276 <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> += <a class="code" href="a04223.html#a626">s</a>; +00277 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr3">_Sh</a> -= <a class="code" href="a04223.html#a626">s</a>; +00278 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera15" doxytag="NLAISCRIPT::CStackPointer::restoreShiftState" ></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"> bool NLAISCRIPT::CStackPointer::restoreShiftState </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> +if there is any _Sh shift. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00288">288</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +Referenced by <a class="el" href="a06755.html#l00953">NLAISCRIPT::CCompilateur::getCode()</a>, and <a class="el" href="a06755.html#l00608">NLAISCRIPT::CCompilateur::registerMethod()</a>. +<p> +<div class="fragment"><pre>00289 { +00290 <span class="keywordflow">return</span> <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr4">_Shift</a>.size() != 0; +00291 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera16" doxytag="NLAISCRIPT::CStackPointer::restoreStack" ></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::CStackPointer::restoreStack </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> +restore the last _Bp shift to the stack pointer. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00253">253</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +Referenced by <a class="el" href="a06755.html#l00953">NLAISCRIPT::CCompilateur::getCode()</a>, <a class="el" href="a06124.html#l00103">NLAISCRIPT::CMethodContextDebug::loadContext()</a>, <a class="el" href="a06124.html#l00064">NLAISCRIPT::CMethodContext::loadContext()</a>, and <a class="el" href="a06755.html#l00608">NLAISCRIPT::CCompilateur::registerMethod()</a>. +<p> +<div class="fragment"><pre>00254 { +00255 <span class="keywordtype">int</span> k = <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr0">_Bp</a>; +00256 _Bp -= <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr2">_Decalage</a>.back(); +00257 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr2">_Decalage</a>.pop_back(); +00258 <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> += k; +00259 +00260 *<span class="keyword">this</span> -= k; +00261 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera17" doxytag="NLAISCRIPT::CStackPointer::restoreStackState" ></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"> bool NLAISCRIPT::CStackPointer::restoreStackState </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> +if there is any _Bp shift. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00282">282</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +Referenced by <a class="el" href="a06755.html#l00953">NLAISCRIPT::CCompilateur::getCode()</a>, and <a class="el" href="a06755.html#l00608">NLAISCRIPT::CCompilateur::registerMethod()</a>. +<p> +<div class="fragment"><pre>00283 { +00284 <span class="keywordflow">return</span> <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr2">_Decalage</a>.size() != 0; +00285 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointera18" doxytag="NLAISCRIPT::CStackPointer::setShift" ></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::CStackPointer::setShift </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname1" valign="top" nowrap> <em>s</em> </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> +set an s shift to relative stack pointer _Sh. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00264">264</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +References <a class="el" href="a05646.html#l00977">s</a>. +<p> +Referenced by <a class="el" href="a06755.html#l00608">NLAISCRIPT::CCompilateur::registerMethod()</a>, <a class="el" href="a06124.html#l00080">NLAISCRIPT::CMethodContextDebug::saveContext()</a>, and <a class="el" href="a06124.html#l00041">NLAISCRIPT::CMethodContext::saveContext()</a>. +<p> +<div class="fragment"><pre>00265 { +00266 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr3">_Sh</a> += <a class="code" href="a04223.html#a626">s</a>; +00267 <a class="code" href="a02663.html#NLAISCRIPT_1_1CStackPointerp0">_Sp</a> -= <a class="code" href="a04223.html#a626">s</a>; +00268 <a class="code" href="a03436.html#NLAISCRIPT_1_1CStackPointerr4">_Shift</a>.push_back(s); +00269 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointerr0" doxytag="NLAISCRIPT::CStackPointer::_Bp" ></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="a03436.html#NLAISCRIPT_1_1CStackPointerr0">NLAISCRIPT::CStackPointer::_Bp</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +_Bp is a relative pointer to upright the stack point at the entry point of a methode. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00154">154</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +Referenced by <a class="el" href="a05572.html#l00168">CStackPointer()</a>, <a class="el" href="a05572.html#l00194">operator NLAIAGENT::IObjectIA *()</a>, and <a class="el" href="a05572.html#l00182">operator[]()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointerr1" doxytag="NLAISCRIPT::CStackPointer::_Count" ></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="a03436.html#NLAISCRIPT_1_1CStackPointerr1">NLAISCRIPT::CStackPointer::_Count</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +the count of allocation table. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00152">152</a> of file <a class="el" href="a05572.html">codage.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointerr2" doxytag="NLAISCRIPT::CStackPointer::_Decalage" ></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="a03436.html#NLAISCRIPT_1_1CStackPointerr2">NLAISCRIPT::CStackPointer::_Decalage</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +list to storager the last shift release in _Bp +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00160">160</a> of file <a class="el" href="a05572.html">codage.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointerr3" doxytag="NLAISCRIPT::CStackPointer::_Sh" ></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="a03436.html#NLAISCRIPT_1_1CStackPointerr3">NLAISCRIPT::CStackPointer::_Sh</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +_Sh is a relative pointer to upright the stack after allocat the argument of a methode. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00157">157</a> of file <a class="el" href="a05572.html">codage.h</a>. +<p> +Referenced by <a class="el" href="a05572.html#l00168">CStackPointer()</a>, <a class="el" href="a05572.html#l00194">operator NLAIAGENT::IObjectIA *()</a>, and <a class="el" href="a05572.html#l00182">operator[]()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointerr4" doxytag="NLAISCRIPT::CStackPointer::_Shift" ></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="a03436.html#NLAISCRIPT_1_1CStackPointerr4">NLAISCRIPT::CStackPointer::_Shift</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +list to storager the last shift release in _Sh +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00162">162</a> of file <a class="el" href="a05572.html">codage.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointerp0" doxytag="NLAISCRIPT::CStackPointer::_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, inherited]</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">NLAISCRIPT::CIndexStackPointer::CIndexStackPointer()</a>, <a class="el" href="a05572.html#l00124">NLAISCRIPT::CIndexStackPointer::clear()</a>, <a class="el" href="a05572.html#l00068">NLAISCRIPT::CIndexStackPointer::operator int()</a>, <a class="el" href="a05572.html#l00074">NLAISCRIPT::CIndexStackPointer::operator++()</a>, <a class="el" href="a05572.html#l00086">NLAISCRIPT::CIndexStackPointer::operator+=()</a>, <a class="el" href="a05572.html#l00080">NLAISCRIPT::CIndexStackPointer::operator--()</a>, <a class="el" href="a05572.html#l00092">NLAISCRIPT::CIndexStackPointer::operator-=()</a>, and <a class="el" href="a05572.html#l00098">NLAISCRIPT::CIndexStackPointer::pushMark()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CStackPointerr5" doxytag="NLAISCRIPT::CStackPointer::_Stack" ></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"> <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a>** <a class="el" href="a03436.html#NLAISCRIPT_1_1CStackPointerr5">NLAISCRIPT::CStackPointer::_Stack</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +this IObjectIA table have _Count size. +<p> + +<p> +Definition at line <a class="el" href="a05572.html#l00165">165</a> of file <a class="el" href="a05572.html">codage.h</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 12:25:30 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> |