Commit f21ae97b authored by Johnny Jazeix's avatar Johnny Jazeix
Browse files

Correction de fautes

parent 142aa177
......@@ -22,7 +22,7 @@ int stopnexttoken(int* cursor){
}
}
void Line::store(std::ifstream &file){
void Line::store(std::ifstream &file){
char buffer[BUFFSIZE];
file.getline (buffer,BUFFSIZE);
......@@ -31,9 +31,8 @@ void Line::store(std::ifstream &file){
}
void Line::store(std::string s){
void Line::store(std::string s){
int cursor = 0;
int start;
int stop;
......@@ -78,14 +77,14 @@ void Line::store(std::string s){
}
bool Line::operator== (Line)
bool Line::operator== (Line l)
{
if (this.length==l.lentgth)
if (this.length==l.length())
{
for (int i =0;i<this.length();i++)
if (this.item(i)==l.item(i))
return false;
return true
return true;
}
else
return false;
......
......@@ -3,7 +3,6 @@
#include <string>
/*! \class Parser Parser.hpp "../parser/src/Parser.hpp"
* Contains the definition of the parser interface.
*/
......
......@@ -4,8 +4,13 @@
#include <iostream>
#include "Definition.hpp"
class ParserDefinitionDecoder
{
/*!
*
* \class ParserDefinitionDecoder
* \brief Parse the definitions of the trace and stock them.
*
*/
class ParserDefinitionDecoder{
/**
*Reads line to find events definition
......@@ -13,11 +18,12 @@ class ParserDefinitionDecoder
*/
private:
Map<int,Definition> Definitions;/*! \brief Hash table to retrive easily event in Parser Event*/
/*! \brief Hash table to retrive easily event in Parser Event. */
Map<int,Definition> Definitions;
public:
int definitions_number();
void store_definition(Ligne &, ifstream &);
void store_definition(Line &, ifstream &);
Definition& get_definition(int i);
};
......
#ifndef PARSEREVENTDECODER_HPP
#define PARSEREVENTDECODER_HPP
class ParserEventDecoder
{
/**
*Reads Hash Table to find fill the Str
*
*/
/**
* \class ParserEventDecoder
* \brief Reads Hash Table to find fill the Str
*
*/
class ParserEventDecoder{
private:
/*!
*
*\fn convert()
*\fn convert(String type, String value)
*\brief return the appropriate type from a character description
*
*\param String : type ("Name", "Color"...)
......
#ifndef PARSERPAJE_HPP
#define PARSERPAJE_HPP
class ParserPaje
{
ParserEventDecoder parserdefinitiondecoder;
ParserDefinitionDecoder parserdefinitiondecoder;
#include <string>
/*!
*
* \class ParserPaje
* \brief parse the format of Paje.
*
*/
class ParserPaje : public Parser{
private:
ParserEventDecoder parser_event_decoder;
ParserDefinitionDecoder parser_definition_decoder;
public:
/*!
* \fn parse(std::string filename)
* \param : the name of the file to parse
* \param : the structure of data to fill
*/
void parse(string filename);
}
void parse(std::string filename);
};
#endif // PARSERPAJE_HPP
......
......@@ -13,8 +13,46 @@
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<h1>Definition.hpp</h1><div class="fragment"><pre class="fragment"></pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 1 15:04:43 2009 by&nbsp;
<h1>Definition.hpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef DEFINITION_HPP</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define DEFINITION_HPP</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00004"></a>00004
<a name="l00005"></a>00005 <span class="preprocessor">#define INTEGER 0</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define COLOR 1</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor">#define STRING 2</span>
<a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#define DATE 3</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span>
<a name="l00013"></a><a class="code" href="classDefinition.html">00013</a> <span class="keyword">class </span><a class="code" href="classDefinition.html">Definition</a>{
<a name="l00014"></a>00014
<a name="l00015"></a>00015 <span class="keyword">struct </span>champs {
<a name="l00016"></a>00016 std::string name;
<a name="l00017"></a>00017 <span class="keywordtype">int</span> type;
<a name="l00018"></a>00018 };
<a name="l00019"></a>00019
<a name="l00020"></a>00020 std::vector&lt;champs&gt; compulsory;
<a name="l00021"></a>00021 std::vector&lt;champs&gt; notcompulsory;
<a name="l00022"></a>00022 std::string Eventname;
<a name="l00023"></a>00023
<a name="l00024"></a>00024 <span class="keyword">private</span>:
<a name="l00029"></a>00029 <span class="keywordtype">int</span> typetoint(std::string);
<a name="l00030"></a>00030
<a name="l00031"></a>00031 <span class="keyword">public</span>:
<a name="l00032"></a>00032
<a name="l00033"></a>00033
<a name="l00039"></a>00039 <a class="code" href="classDefinition.html#de087d00efc14ca3a7bbe191f3656f4c" title=": constructor">Definition</a>(std::string&amp; eventname);
<a name="l00040"></a>00040
<a name="l00046"></a>00046 <span class="keywordtype">void</span> <a class="code" href="classDefinition.html#1c05be0fc9e0ea2931f8bd15d33ebb93" title=": add a field to definition">store</a>(std::string name,std::string value);
<a name="l00047"></a>00047
<a name="l00048"></a>00048
<a name="l00049"></a>00049
<a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="classDefinition.html#10473299c28a8dd88cbeda7c33df2b89" title=": print() : display the definitions">print</a>();
<a name="l00056"></a>00056
<a name="l00057"></a>00057 }
<a name="l00058"></a>00058
<a name="l00059"></a>00059 <span class="preprocessor">#endif // DEFINITION_HPP</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 3 18:14:58 2009 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
......
......@@ -17,23 +17,47 @@
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define LINE_HPP</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00005"></a>00005
<a name="l00006"></a>00006
<a name="l00011"></a><a class="code" href="classLine.html">00011</a> <span class="keyword">class </span><a class="code" href="classLine.html">Line</a>{
<a name="l00012"></a>00012
<a name="l00013"></a>00013 <span class="keyword">private</span>:
<a name="l00014"></a>00014 std::string _content;
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#define BUFFSIZE 256</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span>
<a name="l00012"></a><a class="code" href="classLine.html">00012</a> <span class="keyword">class </span><a class="code" href="classLine.html">Line</a>{
<a name="l00013"></a>00013
<a name="l00014"></a>00014 <span class="keyword">private</span>:
<a name="l00015"></a>00015
<a name="l00016"></a>00016 <span class="keyword">public</span>:
<a name="l00022"></a>00022 <a class="code" href="classLine.html#cc11b8a429d8cdd63ba6803dff5602b3" title="Constructor.">Line</a>();
<a name="l00028"></a>00028 <a class="code" href="classLine.html#cc11b8a429d8cdd63ba6803dff5602b3" title="Constructor.">Line</a>(<a class="code" href="classLine.html">Line</a> &amp;);
<a name="l00033"></a>00033 <a class="code" href="classLine.html#abe85f48d22d92b62257091f48174fac" title="Destructor Destroy the line.">~Line</a>();
<a name="l00038"></a>00038 <span class="keywordtype">bool</span> <a class="code" href="classLine.html#1c6f0426034db396540eaa36075c869a">Starts_with</a>(std::string &amp;);
<a name="l00039"></a>00039 };
<a name="l00040"></a>00040
<a name="l00041"></a>00041 <span class="preprocessor">#endif // LINE_HPP</span>
<a name="l00016"></a>00016 std::vector&lt;std::string&gt; tokens;
<a name="l00017"></a>00017
<a name="l00018"></a>00018
<a name="l00019"></a>00019
<a name="l00020"></a>00020
<a name="l00021"></a>00021
<a name="l00022"></a>00022
<a name="l00026"></a>00026 <span class="keywordtype">void</span> tokenize();
<a name="l00027"></a>00027
<a name="l00028"></a>00028 <span class="keyword">public</span>:
<a name="l00034"></a>00034 <a class="code" href="classLine.html#cc11b8a429d8cdd63ba6803dff5602b3" title="Constructor.">Line</a>();
<a name="l00040"></a>00040 <a class="code" href="classLine.html#cc11b8a429d8cdd63ba6803dff5602b3" title="Constructor.">Line</a>(<a class="code" href="classLine.html">Line</a> &amp;);
<a name="l00041"></a>00041
<a name="l00046"></a>00046 <a class="code" href="classLine.html#abe85f48d22d92b62257091f48174fac" title="Destructor Destroy the line.">~Line</a>();
<a name="l00047"></a>00047
<a name="l00052"></a>00052 <span class="keywordtype">bool</span> <a class="code" href="classLine.html#dd1caa070aca84470bd2469c11024711">starts_with</a>(std::string &amp;);
<a name="l00053"></a>00053
<a name="l00058"></a>00058 <span class="keywordtype">void</span> <a class="code" href="classLine.html#dc553f616438f6de04b83d9b83acee20" title="store() read the next line and divide into tokens">store</a>(std::ifstream &amp;);
<a name="l00059"></a>00059
<a name="l00060"></a>00060
<a name="l00065"></a>00065 <span class="keywordtype">bool</span> <a class="code" href="classLine.html#cdd062b6a8147e4bb1b7a7352d67fe23" title="line compare">operator== </a>(std::string &amp;);
<a name="l00066"></a>00066
<a name="l00071"></a>00071 std::string&amp; <a class="code" href="classLine.html#0e5f64922c4ba654235f7f0c688344b1" title="the ith token in the line">item</a> (<span class="keywordtype">int</span> i );
<a name="l00072"></a>00072
<a name="l00073"></a>00073
<a name="l00074"></a>00074
<a name="l00075"></a>00075
<a name="l00080"></a>00080 <span class="keywordtype">int</span> <a class="code" href="classLine.html#1fa8a36f5fe5e37b3008337294c84ea7" title="number of token">length</a>();
<a name="l00081"></a>00081
<a name="l00082"></a>00082 };
<a name="l00083"></a>00083
<a name="l00084"></a>00084 <span class="preprocessor">#endif // LINE_HPP</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 1 15:04:43 2009 by&nbsp;
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 3 18:14:58 2009 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
......
......@@ -19,21 +19,21 @@
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;iostream&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include "Definition.hpp"</span>
<a name="l00006"></a>00006
<a name="l00007"></a>00007 <span class="keyword">class </span>ParserDefinitionDecoder
<a name="l00008"></a>00008 {
<a name="l00009"></a>00009
<a name="l00015"></a>00015 <span class="keyword">private</span>:
<a name="l00016"></a>00016 Map&lt;int,Definition&gt; Definitions;
<a name="l00018"></a>00018 <span class="keyword">public</span>:
<a name="l00019"></a>00019 <span class="keywordtype">void</span> store_definition(Ligne &amp;, ifstream &amp;);
<a name="l00020"></a>00020 Definition get_definition(<span class="keywordtype">int</span> i);
<a name="l00021"></a>00021 operator[](<span class="keywordtype">int</span> i);
<a name="l00022"></a>00022
<a name="l00023"></a>00023 };
<a name="l00024"></a>00024
<a name="l00025"></a>00025 <span class="preprocessor">#endif // PARSERDEFINITIONDECODER_HPP</span>
<a name="l00013"></a><a class="code" href="classParserDefinitionDecoder.html">00013</a> <span class="keyword">class </span><a class="code" href="classParserDefinitionDecoder.html" title="Parse the definitions of the trace and stock them.">ParserDefinitionDecoder</a>{
<a name="l00014"></a>00014
<a name="l00020"></a>00020 <span class="keyword">private</span>:
<a name="l00022"></a>00022 Map&lt;int,Definition&gt; Definitions;
<a name="l00023"></a>00023
<a name="l00024"></a>00024 <span class="keyword">public</span>:
<a name="l00025"></a>00025 <span class="keywordtype">int</span> definitions_number();
<a name="l00026"></a>00026 <span class="keywordtype">void</span> store_definition(<a class="code" href="classLine.html">Line</a> &amp;, ifstream &amp;);
<a name="l00027"></a>00027 <a class="code" href="classDefinition.html">Definition</a>&amp; get_definition(<span class="keywordtype">int</span> i);
<a name="l00028"></a>00028
<a name="l00029"></a>00029 };
<a name="l00030"></a>00030
<a name="l00031"></a>00031 <span class="preprocessor">#endif // PARSERDEFINITIONDECODER_HPP</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 1 15:04:43 2009 by&nbsp;
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 3 18:14:58 2009 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
......
......@@ -13,19 +13,23 @@
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<h1>ParserEventDecoder.hpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001
<a name="l00002"></a>00002
<a name="l00003"></a>00003 <span class="keyword">class </span>ParserEventDecoder
<a name="l00004"></a>00004 {
<a name="l00005"></a>00005
<a name="l00012"></a>00012 <span class="keyword">public</span>:
<a name="l00013"></a>00013 sort_definition(Definition,ligne);
<a name="l00014"></a>00014
<a name="l00015"></a>00015
<a name="l00016"></a>00016
<a name="l00017"></a>00017 };
<h1>ParserEventDecoder.hpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef PARSEREVENTDECODER_HPP</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define PARSEREVENTDECODER_HPP</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00010"></a><a class="code" href="classParserEventDecoder.html">00010</a> <span class="keyword">class </span><a class="code" href="classParserEventDecoder.html" title="Reads Hash Table to find fill the Str.">ParserEventDecoder</a>{
<a name="l00011"></a>00011
<a name="l00012"></a>00012 <span class="keyword">private</span>:
<a name="l00021"></a>00021 Type convert(String type, String value);
<a name="l00022"></a>00022
<a name="l00023"></a>00023 <span class="keyword">public</span>:
<a name="l00024"></a>00024 sort_definition(<a class="code" href="classDefinition.html">Definition</a>,ligne);
<a name="l00025"></a>00025
<a name="l00026"></a>00026
<a name="l00027"></a>00027
<a name="l00028"></a>00028 };
<a name="l00029"></a>00029 <span class="preprocessor">#endif // PARSEREVENTDECODER_HPP</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 1 15:04:43 2009 by&nbsp;
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 3 18:14:58 2009 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
......
......@@ -13,8 +13,26 @@
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<h1>ParserPaje.hpp</h1><div class="fragment"><pre class="fragment"></pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 1 15:04:43 2009 by&nbsp;
<h1>ParserPaje.hpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef PARSERPAJE_HPP</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define PARSERPAJE_HPP</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00005"></a>00005
<a name="l00012"></a><a class="code" href="classParserPaje.html">00012</a> <span class="keyword">class </span><a class="code" href="classParserPaje.html" title="parse the format of Paje.">ParserPaje</a> : <span class="keyword">public</span> <a class="code" href="classParser.html">Parser</a>{
<a name="l00013"></a>00013
<a name="l00014"></a>00014 <span class="keyword">private</span>:
<a name="l00015"></a>00015 <a class="code" href="classParserEventDecoder.html" title="Reads Hash Table to find fill the Str.">ParserEventDecoder</a> parser_event_decoder;
<a name="l00016"></a>00016 <a class="code" href="classParserDefinitionDecoder.html" title="Parse the definitions of the trace and stock them.">ParserDefinitionDecoder</a> parser_definition_decoder;
<a name="l00017"></a>00017
<a name="l00018"></a>00018 <span class="keyword">public</span>:
<a name="l00024"></a>00024 <span class="keywordtype">void</span> <a class="code" href="classParserPaje.html#f6b42954e397ee3688eb89013999c165">parse</a>(std::string filename);
<a name="l00025"></a>00025 };
<a name="l00026"></a>00026
<a name="l00027"></a>00027 <span class="preprocessor">#endif // PARSERPAJE_HPP</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span>
<a name="l00029"></a>00029
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 3 18:14:58 2009 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
......
......@@ -18,17 +18,16 @@
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00005"></a>00005
<a name="l00006"></a>00006
<a name="l00011"></a><a class="code" href="classParser.html">00011</a> <span class="keyword">class </span><a class="code" href="classParser.html">Parser</a>{
<a name="l00012"></a>00012
<a name="l00013"></a>00013 <span class="keyword">public</span>:
<a name="l00018"></a>00018 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classParser.html#481e6a97a5db18bd6d803f2fd01f2b99">parse</a>(<span class="keywordtype">string</span> filename) = 0;
<a name="l00019"></a>00019
<a name="l00020"></a>00020 };
<a name="l00021"></a>00021
<a name="l00022"></a>00022 <span class="preprocessor">#endif // PARSER_HPP</span>
<a name="l00010"></a><a class="code" href="classParser.html">00010</a> <span class="keyword">class </span><a class="code" href="classParser.html">Parser</a>{
<a name="l00011"></a>00011
<a name="l00012"></a>00012 <span class="keyword">public</span>:
<a name="l00017"></a>00017 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classParser.html#481e6a97a5db18bd6d803f2fd01f2b99">parse</a>(<span class="keywordtype">string</span> filename) = 0;
<a name="l00018"></a>00018
<a name="l00019"></a>00019 };
<a name="l00020"></a>00020
<a name="l00021"></a>00021 <span class="preprocessor">#endif // PARSER_HPP</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 1 15:04:43 2009 by&nbsp;
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 3 18:14:58 2009 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
......
......@@ -16,17 +16,22 @@
<div class="tabs">
<ul>
<li class="current"><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>
<div class="contents">
<h1>Class List</h1>Here are the classes, structs, unions and interfaces with brief descriptions:<table>
<tr><td class="indexkey"><a class="el" href="classDefinition.html">Definition</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classLine.html">Line</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classParser.html">Parser</a></td><td class="indexvalue"></td></tr>
<tr><td class="indexkey"><a class="el" href="classParserDefinitionDecoder.html">ParserDefinitionDecoder</a></td><td class="indexvalue">Parse the definitions of the trace and stock them </td></tr>
<tr><td class="indexkey"><a class="el" href="classParserEventDecoder.html">ParserEventDecoder</a></td><td class="indexvalue">Reads Hash Table to find fill the Str </td></tr>
<tr><td class="indexkey"><a class="el" href="classParserPaje.html">ParserPaje</a></td><td class="indexvalue">Parse the format of Paje </td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 1 15:04:43 2009 by&nbsp;
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 3 18:14:58 2009 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
......
......@@ -16,18 +16,23 @@
<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>
<div class="contents">
<h1>Line Member List</h1>This is the complete list of members for <a class="el" href="classLine.html">Line</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classLine.html#0e5f64922c4ba654235f7f0c688344b1">item</a>(int i)</td><td><a class="el" href="classLine.html">Line</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classLine.html#1fa8a36f5fe5e37b3008337294c84ea7">length</a>()</td><td><a class="el" href="classLine.html">Line</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classLine.html#cc11b8a429d8cdd63ba6803dff5602b3">Line</a>()</td><td><a class="el" href="classLine.html">Line</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classLine.html#d93c7c8effa07278a6db99a1a2490ae4">Line</a>(Line &amp;)</td><td><a class="el" href="classLine.html">Line</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classLine.html#1c6f0426034db396540eaa36075c869a">Starts_with</a>(std::string &amp;)</td><td><a class="el" href="classLine.html">Line</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classLine.html#cdd062b6a8147e4bb1b7a7352d67fe23">operator==</a>(std::string &amp;)</td><td><a class="el" href="classLine.html">Line</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classLine.html#dd1caa070aca84470bd2469c11024711">starts_with</a>(std::string &amp;)</td><td><a class="el" href="classLine.html">Line</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classLine.html#dc553f616438f6de04b83d9b83acee20">store</a>(std::ifstream &amp;)</td><td><a class="el" href="classLine.html">Line</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="classLine.html#abe85f48d22d92b62257091f48174fac">~Line</a>()</td><td><a class="el" href="classLine.html">Line</a></td><td></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 1 15:04:43 2009 by&nbsp;
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 3 18:14:58 2009 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
......
......@@ -16,6 +16,7 @@
<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>
......@@ -38,8 +39,24 @@
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLine.html#abe85f48d22d92b62257091f48174fac">~Line</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor Destroy the line. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLine.html#1c6f0426034db396540eaa36075c869a">Starts_with</a> (std::string &amp;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLine.html#dd1caa070aca84470bd2469c11024711">starts_with</a> (std::string &amp;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc553f616438f6de04b83d9b83acee20"></a><!-- doxytag: member="Line::store" ref="dc553f616438f6de04b83d9b83acee20" args="(std::ifstream &amp;)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLine.html#dc553f616438f6de04b83d9b83acee20">store</a> (std::ifstream &amp;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classLine.html#dc553f616438f6de04b83d9b83acee20" title="store() read the next line and divide into tokens">store()</a> read the next line and divide into tokens <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cdd062b6a8147e4bb1b7a7352d67fe23"></a><!-- doxytag: member="Line::operator==" ref="cdd062b6a8147e4bb1b7a7352d67fe23" args="(std::string &amp;)" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLine.html#cdd062b6a8147e4bb1b7a7352d67fe23">operator==</a> (std::string &amp;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">line compare <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e5f64922c4ba654235f7f0c688344b1"></a><!-- doxytag: member="Line::item" ref="0e5f64922c4ba654235f7f0c688344b1" args="(int i)" -->
std::string &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLine.html#0e5f64922c4ba654235f7f0c688344b1">item</a> (int i)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">the ith token in the line <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1fa8a36f5fe5e37b3008337294c84ea7"></a><!-- doxytag: member="Line::length" ref="1fa8a36f5fe5e37b3008337294c84ea7" args="()" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLine.html#1fa8a36f5fe5e37b3008337294c84ea7">length</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of token <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Contains the definition of a line. <hr><h2>Constructor &amp; Destructor Documentation</h2>
......@@ -92,15 +109,15 @@ Constructor Constructor for the line.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="1c6f0426034db396540eaa36075c869a"></a><!-- doxytag: member="Line::Starts_with" ref="1c6f0426034db396540eaa36075c869a" args="(std::string &amp;)" -->
<a class="anchor" name="dd1caa070aca84470bd2469c11024711"></a><!-- doxytag: member="Line::starts_with" ref="dd1caa070aca84470bd2469c11024711" args="(std::string &amp;)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Line::Starts_with </td>
<td class="memname">bool Line::starts_with </td>
<td>(</td>
<td class="paramtype">std::string &amp;&nbsp;</td>
<td class="paramname"> </td>
<td class="paramname"> <em>s</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
......@@ -114,14 +131,14 @@ Constructor Constructor for the line.
<tr><td valign="top"></td><td valign="top"><em>:</em>&nbsp;</td><td>the string we want to know if the line starts with it </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>: true if ths line starts with the param, false else </dd></dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>: true if the line starts with the param, false else </dd></dl>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="Line_8hpp-source.html">Line.hpp</a></ul>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="Line_8hpp-source.html">Line.hpp</a><li>Line.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 1 15:04:43 2009 by&nbsp;
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 3 18:14:58 2009 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
......
......@@ -16,6 +16,7 @@
<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>
......@@ -24,7 +25,7 @@
<h1>Parser Member List</h1>This is the complete list of members for <a class="el" href="classParser.html">Parser</a>, including all inherited members.<p><table>
<tr class="memlist"><td><a class="el" href="classParser.html#481e6a97a5db18bd6d803f2fd01f2b99">parse</a>(string filename)=0</td><td><a class="el" href="classParser.html">Parser</a></td><td><code> [pure virtual]</code></td></tr>
</table></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 1 15:04:43 2009 by&nbsp;
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 3 18:14:58 2009 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
......
......@@ -16,6 +16,7 @@
<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>
......@@ -23,6 +24,15 @@
<div class="contents">
<h1>Parser Class Reference</h1><!-- doxytag: class="Parser" --><code>#include &quot;<a class="el" href="Parser_8hpp-source.html">../parser/src/Parser.hpp</a>&quot;</code>
<p>
<div class="dynheader">
Inheritance diagram for Parser:</div>
<div class="dynsection">
<p><center><img src="classParser.png" usemap="#Parser_map" border="0" alt=""></center>
<map name="Parser_map">
<area href="classParserPaje.html" alt="ParserPaje" shape="rect" coords="0,56,75,80">
</map>
</div>
<p>
<a href="classParser-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
......@@ -62,7 +72,7 @@ Contains the definition of the parser interface. <hr><h2>Member Function Documen
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="Parser_8hpp-source.html">Parser.hpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 1 15:04:43 2009 by&nbsp;
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 3 18:14:58 2009 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
......
......@@ -24,7 +24,7 @@
<tr><td class="indexkey"><b>ParserPaje.hpp</b> <a href="ParserPaje_8hpp-source.html">[code]</a></td><td class="indexvalue"></td></tr>
</table>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 1 15:04:43 2009 by&nbsp;
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Feb 3 18:14:58 2009 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>