-
Notifications
You must be signed in to change notification settings - Fork 22
/
Options.cpp
53 lines (44 loc) · 1.18 KB
/
Options.cpp
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#include "Options.h"
Options::Options(
unsigned minChars,
bool ignorePrepStuff,
unsigned minBlockSize,
unsigned blockPercentThreshold,
bool outputXml,
bool ignoreSameFilename,
const std::string& listFilename,
const std::string& outputFilename)
: m_minChars(minChars)
, m_ignorePrepStuff(ignorePrepStuff)
, m_minBlockSize(minBlockSize)
, m_blockPercentThreshold(blockPercentThreshold)
, m_outputXml(outputXml)
, m_ignoreSameFilename(ignoreSameFilename)
, m_listFilename(listFilename)
, m_outputFilename(outputFilename)
{
}
unsigned Options::GetMinChars() const {
return m_minChars;
}
bool Options::GetIgnorePrepStuff() const {
return m_ignorePrepStuff;
}
unsigned Options::GetMinBlockSize() const {
return m_minBlockSize;
}
unsigned Options::GetBlockPercentThreshold() const {
return m_blockPercentThreshold;
}
bool Options::GetOutputXml() const {
return m_outputXml;
}
bool Options::GetIgnoreSameFilename() const {
return m_ignoreSameFilename;
}
const std::string& Options::GetListFilename() const {
return m_listFilename;
}
const std::string& Options::GetOutputFilename() const {
return m_outputFilename;
}