2019-09-26 18:29:20 +02:00
|
|
|
#ifndef BITPARSER_H
|
|
|
|
|
#define BITPARSER_H
|
|
|
|
|
|
|
|
|
|
#include <iostream>
|
2019-10-05 10:28:44 +02:00
|
|
|
#include <fstream>
|
2019-09-26 18:29:20 +02:00
|
|
|
|
2019-10-05 10:28:44 +02:00
|
|
|
#include "configBitstreamParser.hpp"
|
|
|
|
|
|
|
|
|
|
class BitParser: public ConfigBitstreamParser {
|
2019-09-26 18:29:20 +02:00
|
|
|
public:
|
2019-11-21 08:55:58 +01:00
|
|
|
BitParser(std::string filename, bool verbose = false);
|
2019-09-26 18:29:20 +02:00
|
|
|
~BitParser();
|
|
|
|
|
int parse();
|
|
|
|
|
|
|
|
|
|
private:
|
2019-10-05 10:28:44 +02:00
|
|
|
int parseField();
|
2019-09-26 18:29:20 +02:00
|
|
|
std::string fieldA;
|
|
|
|
|
std::string part_name;
|
|
|
|
|
std::string date;
|
|
|
|
|
std::string hour;
|
|
|
|
|
std::string design_name;
|
|
|
|
|
std::string userID;
|
|
|
|
|
std::string toolVersion;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|