-
Notifications
You must be signed in to change notification settings - Fork 1
/
cXmlLogger.h
33 lines (25 loc) · 720 Bytes
/
cXmlLogger.h
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
#ifndef CXMLLOGGER_H
#define CXMLLOGGER_H
#include "cLogger.h"
#include <iostream>
#include "tinyxml.h"
#include "tinystr.h"
#include <string>
#include "searchresult.h"
#include <sstream>
class cXmlLogger:public cLogger
{
private:
std::string LogFileName;
TiXmlDocument *doc;
public:
cXmlLogger(float loglvl);
~cXmlLogger();
bool getLog(const char* FileName);
void saveLog();
void writeToLogSummary(const SearchResult &sr);
void writeToLogPath(const SearchResult &sresult);
void writeToLogMap(const cMap &map, const SearchResult &sresult);
void writeToLogOpenClose(const std::vector<Node> &open, const std::vector<Node>& close);
};
#endif