Commit 774d8cf3 authored by Johnny Jazeix's avatar Johnny Jazeix
Browse files

Début des headers (aucune mise en forme ^^), il manque des trucs

parent 36ddeb98
#ifndef PARSER_HPP
#define PARSER_HPP
#include <string>
/*! \class Parser Parser.hpp "../parser/src/Parser.hpp"
* Contains the definition of the parser interface.
*/
class Parser{
public:
/*!
* \param : the name of the file to parse
* \param : the structure of data to fill
*/
virtual void parse(string filename) = 0;
};
#endif // PARSER_HPP
#ifndef PARSERDEFINITIONDECODER_HPP
#define PARSERDEFINITIONDECODER_HPP
#include <iostream>
#include "Definition.hpp"
class ParserDefinitionDecoder
{
/**
*Reads line to find events definition
*
*/
private:
Map<int,Definition> Definitions;/*! \brief Hash table to retrive easily event in Parser Event*/
public:
void store_definition(Ligne &, ifstream &);
Definition get_definition(int i);
operator[](int i);
};
#endif // PARSERDEFINITIONDECODER_HPP
class ParserEventDecoder
{
/**
*Reads Hash Table to find fill the Str
*
*/
public:
sort_definition(Definition,ligne);
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment