-
Notifications
You must be signed in to change notification settings - Fork 22
/
Options.h
38 lines (33 loc) · 949 Bytes
/
Options.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
34
35
36
37
38
#ifndef _OPTIONS_H_
#define _OPTIONS_H_
#include <string>
class Options {
unsigned m_minChars;
bool m_ignorePrepStuff;
unsigned m_minBlockSize;
unsigned m_blockPercentThreshold;
bool m_outputXml;
bool m_ignoreSameFilename;
std::string m_listFilename;
std::string m_outputFilename;
public:
Options(
unsigned minChars,
bool ignorePrepStuff,
unsigned minBlockSize,
unsigned blockPercentThreshold,
bool outputXml,
bool ignoreSameFilename,
const std::string& listFilename,
const std::string& outputFilename
);
bool GetIgnoreSameFilename() const;
const std::string& GetListFilename() const;
const std::string& GetOutputFilename() const;
bool GetOutputXml() const;
unsigned GetMinChars() const;
bool GetIgnorePrepStuff() const;
unsigned GetMinBlockSize() const;
unsigned GetBlockPercentThreshold() const;
};
#endif