File: NetRangerLog.h

package info (click to toggle)
aris-extractor 1.6.2-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 388 kB
  • ctags: 270
  • sloc: cpp: 3,694; sh: 2,571; makefile: 79
file content (27 lines) | stat: -rw-r--r-- 587 bytes parent folder | download
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
// NetRangerLog.h: interface for the CNetRangerLog class.
//
//////////////////////////////////////////////////////////////////////

#include "IDSLog.h"

class CNetRangerLog : public CIDSLog  
{
public:
	CNetRangerLog();
	virtual ~CNetRangerLog();

private:
	void IDSVersion (char *sIDSProduct, int& nIDSID, int& nIDSMajor, int& nIDSMinor, char *sIDSRev) const;

	bool OpenLog (const char *filename);
	void SeekLog (double nDate);
	bool LastIncident ();
	bool ReadIncident ();
	void CloseLog ();
	double GetLastDate ();

	FILE *m_pLogFile;
	double m_nStartDate;
	double m_nLastDate;

};