ParserEventDecoder.hpp 803 Bytes
Newer Older
Pascal Noisette's avatar
Pascal Noisette committed
1
#ifndef PARSEREVENTDECODER_HPP
2 3 4 5
#define PARSEREVENTDECODER_HPP

#include <iostream>
#include <map>
6

7 8
#include "Definition.hpp"
#include "Line.hpp"
9 10
#include "../../trace/src/values/Values.hpp"

11 12 13
#ifdef DEBUG
#include "../tests/stub/trace.hpp"
#else
Olivier Lagrasse's avatar
Olivier Lagrasse committed
14
#include "../../trace/src/Trace.hpp"
15
#endif
Johnny Jazeix's avatar
Johnny Jazeix committed
16 17 18 19 20
/**
 * \class ParserEventDecoder
 * \brief Reads Hash Table to find fill the Str
 *
 */
Pascal Noisette's avatar
Pascal Noisette committed
21

22 23
class ParserEventDecoder{

24
public:
25
    ParserEventDecoder();
26

27 28 29 30 31 32 33
    /*!
     *  \fn store_event(const Definition &definition, Line &line, Trace &trace)
     *  \param definition the definition of the event.
     *  \param line the line containing the event.
     *  \param trace where we store the event.
     */
    void store_event(const Definition &definition, Line &line, Trace &trace);
34
};
Pascal Noisette's avatar
Pascal Noisette committed
35
#endif // PARSEREVENTDECODER_HPP