-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTLogFileReader.h
More file actions
34 lines (26 loc) · 836 Bytes
/
TLogFileReader.h
File metadata and controls
34 lines (26 loc) · 836 Bytes
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
26
27
28
29
30
31
32
33
34
/*
* TLogFileReader.h
*
* Created on: Feb 28, 2019
* Author: mss
*/
#ifndef TLOGFILEREADER_H_
#define TLOGFILEREADER_H_
#include "TSingleLogLine.h"
#include "TAsciiFileReader.cpp" // cpp needed because TAsciiFileReader is a template
namespace std {
class TLogFileReader : public TAsciiFileReader<TSingleLogLine> {
private:
static const int nCols = 10;
void InitLutVectors(); // VIIH = virtual inherited, implemented here
void FillLutVectors(); // VIIH
public:
TLogFileReader();
virtual ~TLogFileReader();
// Declarations of virtual methods declared in parent class, which are defined here
int16_t ReadLine(const string& sLine, const int32_t iLine); // VIIH
int16_t Print(ostream&); // VIIH
void ResetData(); // VIIH
};
} /* namespace std */
#endif /* TLOGFILEREADER_H_ */