<!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 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 List</span></a></li>
<li><a href="globals.html"><span>File 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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classexample_1_1location.html">example::location</a></td></tr>
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html">example</a></td></tr>
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html#89372a147befefadf885a49e91bf178a">example::operator+</a> (const location &begin, const location &end)</td></tr>
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html#59d98eb533706b8a9236ee6bf6db53ca">example::operator+</a> (const location &begin, unsigned int width)</td></tr>
<tr><td class="mdescLeft"> </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 & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html#6a1a320eb30117289a70be3cc20fcba0">example::operator+=</a> (location &res, unsigned int width)</td></tr>
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html#a68799a72a42f5df1011f26ae428a16f">example::operator==</a> (const location &loc1, const location &loc2)</td></tr>
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html#2d1471a6dd6cdfb75001fb44df444110">example::operator!=</a> (const location &loc1, const location &loc2)</td></tr>
<tr><td class="mdescLeft"> </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 & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceexample.html#42e9c113ddb6666d26c0ad11d8950bf6">example::operator<<</a> (std::ostream &ostr, const location &loc)</td></tr>
<tr><td class="mdescLeft"> </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
<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>