idlebox / 2007 / flex-bison-cpp-example / flex-bison-cpp-example-0.1.4 / doxygen-html / classexample_1_1location.html.html (Download File)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Flex Bison C++ Example: example::location Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceexample.html">example</a>::<a class="el" href="classexample_1_1location.html">location</a>
  </div>
</div>
<div class="contents">
<h1>example::location Class Reference</h1><!-- doxytag: class="example::location" -->Abstract a <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a>.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="location_8hh_source.html">location.hh</a>&gt;</code>
<p>

<p>
<a href="classexample_1_1location-members.html">List of all members.</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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexample_1_1location.html#b3f57c371b16635436d16489be26b986">location</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct a <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a>.  <a href="#b3f57c371b16635436d16489be26b986"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexample_1_1location.html#b7074f6e05a6e1351b4d25ca037a5fb8">initialize</a> (std::string *fn)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initialization.  <a href="#b7074f6e05a6e1351b4d25ca037a5fb8"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Line and Column related manipulators</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexample_1_1location.html#74a557e8f19d99d90b21e41e1ad17ef8">step</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reset initial <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a> to final <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a>.  <a href="#74a557e8f19d99d90b21e41e1ad17ef8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexample_1_1location.html#748182845768b78d9ee3a0cd0c05e942">columns</a> (unsigned int count=1)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Extend the current <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a> to the COUNT next columns.  <a href="#748182845768b78d9ee3a0cd0c05e942"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexample_1_1location.html#037422ac20ec3d9a2dd14c8841439dea">lines</a> (unsigned int count=1)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Extend the current <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a> to the COUNT next lines.  <a href="#037422ac20ec3d9a2dd14c8841439dea"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classexample_1_1position.html">position</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexample_1_1location.html#9be5886f1afbd7d8c824c01d61f625d8">begin</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Beginning of the located region.  <a href="#9be5886f1afbd7d8c824c01d61f625d8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classexample_1_1position.html">position</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexample_1_1location.html#bb35eb88b69378acd734b0cf83925834">end</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">End of the located region.  <a href="#bb35eb88b69378acd734b0cf83925834"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Abstract a <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a>.
<p>Definition at line <a class="el" href="location_8hh_source.html#l00056">56</a> of file <a class="el" href="location_8hh_source.html">location.hh</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="b3f57c371b16635436d16489be26b986"></a><!-- doxytag: member="example::location::location" ref="b3f57c371b16635436d16489be26b986" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">example::location::location           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct a <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a>.
<p>

<p>Definition at line <a class="el" href="location_8hh_source.html#l00061">61</a> of file <a class="el" href="location_8hh_source.html">location.hh</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="748182845768b78d9ee3a0cd0c05e942"></a><!-- doxytag: member="example::location::columns" ref="748182845768b78d9ee3a0cd0c05e942" args="(unsigned int count=1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void example::location::columns           </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>count</em> = <code>1</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Extend the current <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a> to the COUNT next columns.
<p>

<p>Definition at line <a class="el" href="location_8hh_source.html#l00084">84</a> of file <a class="el" href="location_8hh_source.html">location.hh</a>.</p>

<p>References <a class="el" href="location_8hh_source.html#l00101">end</a>.</p>

<p>Referenced by <a class="el" href="location_8hh_source.html#l00113">example::operator+()</a>, and <a class="el" href="location_8hh_source.html#l00121">example::operator+=()</a>.</p>

</div>
</div><p>
<a class="anchor" name="b7074f6e05a6e1351b4d25ca037a5fb8"></a><!-- doxytag: member="example::location::initialize" ref="b7074f6e05a6e1351b4d25ca037a5fb8" args="(std::string *fn)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void example::location::initialize           </td>
          <td>(</td>
          <td class="paramtype">std::string *&nbsp;</td>
          <td class="paramname"> <em>fn</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Initialization.
<p>

<p>Definition at line <a class="el" href="location_8hh_source.html#l00068">68</a> of file <a class="el" href="location_8hh_source.html">location.hh</a>.</p>

<p>References <a class="el" href="location_8hh_source.html#l00099">begin</a>, <a class="el" href="location_8hh_source.html#l00101">end</a>, and <a class="el" href="position_8hh_source.html#l00067">example::position::initialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="037422ac20ec3d9a2dd14c8841439dea"></a><!-- doxytag: member="example::location::lines" ref="037422ac20ec3d9a2dd14c8841439dea" args="(unsigned int count=1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void example::location::lines           </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>count</em> = <code>1</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Extend the current <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a> to the COUNT next lines.
<p>

<p>Definition at line <a class="el" href="location_8hh_source.html#l00090">90</a> of file <a class="el" href="location_8hh_source.html">location.hh</a>.</p>

<p>References <a class="el" href="location_8hh_source.html#l00101">end</a>, and <a class="el" href="position_8hh_source.html#l00078">example::position::lines()</a>.</p>

</div>
</div><p>
<a class="anchor" name="74a557e8f19d99d90b21e41e1ad17ef8"></a><!-- doxytag: member="example::location::step" ref="74a557e8f19d99d90b21e41e1ad17ef8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void example::location::step           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reset initial <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a> to final <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a>.
<p>

<p>Definition at line <a class="el" href="location_8hh_source.html#l00078">78</a> of file <a class="el" href="location_8hh_source.html">location.hh</a>.</p>

<p>References <a class="el" href="location_8hh_source.html#l00099">begin</a>, and <a class="el" href="location_8hh_source.html#l00101">end</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="9be5886f1afbd7d8c824c01d61f625d8"></a><!-- doxytag: member="example::location::begin" ref="9be5886f1afbd7d8c824c01d61f625d8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classexample_1_1position.html">position</a> <a class="el" href="classexample_1_1location.html#9be5886f1afbd7d8c824c01d61f625d8">example::location::begin</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Beginning of the located region.
<p>

<p>Definition at line <a class="el" href="location_8hh_source.html#l00099">99</a> of file <a class="el" href="location_8hh_source.html">location.hh</a>.</p>

<p>Referenced by <a class="el" href="location_8hh_source.html#l00068">initialize()</a>, <a class="el" href="location_8hh_source.html#l00147">example::operator&lt;&lt;()</a>, <a class="el" href="location_8hh_source.html#l00129">example::operator==()</a>, <a class="el" href="parser_8cc_source.html#l00368">example::Parser::parse()</a>, and <a class="el" href="location_8hh_source.html#l00078">step()</a>.</p>

</div>
</div><p>
<a class="anchor" name="bb35eb88b69378acd734b0cf83925834"></a><!-- doxytag: member="example::location::end" ref="bb35eb88b69378acd734b0cf83925834" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classexample_1_1position.html">position</a> <a class="el" href="classexample_1_1location.html#bb35eb88b69378acd734b0cf83925834">example::location::end</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
End of the located region.
<p>

<p>Definition at line <a class="el" href="location_8hh_source.html#l00101">101</a> of file <a class="el" href="location_8hh_source.html">location.hh</a>.</p>

<p>Referenced by <a class="el" href="location_8hh_source.html#l00084">columns()</a>, <a class="el" href="location_8hh_source.html#l00068">initialize()</a>, <a class="el" href="location_8hh_source.html#l00090">lines()</a>, <a class="el" href="location_8hh_source.html#l00105">example::operator+()</a>, <a class="el" href="location_8hh_source.html#l00147">example::operator&lt;&lt;()</a>, <a class="el" href="location_8hh_source.html#l00129">example::operator==()</a>, <a class="el" href="parser_8cc_source.html#l00368">example::Parser::parse()</a>, and <a class="el" href="location_8hh_source.html#l00078">step()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>src/<a class="el" href="location_8hh_source.html">location.hh</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Sep 5 10:26:25 2009 for Flex Bison C++ Example by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>
RSS 2.0 Weblog Feed Atom 1.0 Weblog Feed Valid XHTML 1.1 Valid CSS (2.1)