idlebox / 2007 / flex-bison-cpp-example / flex-bison-cpp-example-0.1.4 / doxygen-html / location_8hh.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: src/location.hh File 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><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>src/location.hh File Reference</h1>Define the <a class="el" href="classexample_1_1location.html" title="Abstract a location.">example::location</a> class.  
<a href="#_details">More...</a>
<p>

<p>
<a href="location_8hh_source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classexample_1_1location.html">example::location</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Abstract a <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a>.  <a href="classexample_1_1location.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html">example</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="namespaceexample.html" title="The example namespace is used to encapsulate the three parser classes example::Parser...">example</a> namespace is used to encapsulate the three parser classes <a class="el" href="classexample_1_1Parser.html" title="A Bison parser.">example::Parser</a>, <a class="el" href="classexample_1_1Scanner.html" title="Scanner is a derived class to add some extra function to the scanner class.">example::Scanner</a> and <a class="el" href="classexample_1_1Driver.html" title="The Driver class brings together all components.">example::Driver</a>. <br></td></tr>

<p>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const location&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html#89372a147befefadf885a49e91bf178a">example::operator+</a> (const location &amp;begin, const location &amp;end)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Join two <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a> objects to create a <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a>.  <a href="#89372a147befefadf885a49e91bf178a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const location&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html#59d98eb533706b8a9236ee6bf6db53ca">example::operator+</a> (const location &amp;begin, unsigned int width)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add two <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a> objects.  <a href="#59d98eb533706b8a9236ee6bf6db53ca"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">location &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html#6a1a320eb30117289a70be3cc20fcba0">example::operator+=</a> (location &amp;res, unsigned int width)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add and assign a <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a>.  <a href="#6a1a320eb30117289a70be3cc20fcba0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html#a68799a72a42f5df1011f26ae428a16f">example::operator==</a> (const location &amp;loc1, const location &amp;loc2)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare two <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a> objects.  <a href="#a68799a72a42f5df1011f26ae428a16f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html#2d1471a6dd6cdfb75001fb44df444110">example::operator!=</a> (const location &amp;loc1, const location &amp;loc2)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare two <a class="el" href="classexample_1_1location.html" title="Abstract a location.">location</a> objects.  <a href="#2d1471a6dd6cdfb75001fb44df444110"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html#42e9c113ddb6666d26c0ad11d8950bf6">example::operator&lt;&lt;</a> (std::ostream &amp;ostr, const location &amp;loc)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Intercept output stream redirection.  <a href="#42e9c113ddb6666d26c0ad11d8950bf6"></a><br></td></tr>
</table>
<hr><h2>Detailed Description</h2>
Define the <a class="el" href="classexample_1_1location.html" title="Abstract a location.">example::location</a> class.
<p>

<p>Definition in file <a class="el" href="location_8hh_source.html">location.hh</a>.</p>
</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)