ParserDefinitionDecoder.hpp 483 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#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