-
Notifications
You must be signed in to change notification settings - Fork 2
/
CartridgeFinder.h
51 lines (46 loc) · 1.54 KB
/
CartridgeFinder.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
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef CARTRIDGEFINDER_H
#define CARTRIDGEFINDER_H
enum reColorType{ rCL_NoMatch, rCL_Se, rCL_CrossTalk, rCL_Nits, rCL_ShortCode };
enum rePtTotalType{ rPT_NoMatch, rPT_Normal, rPT_Gamma, rPT_Center, rPT_Word, rPT_PureDigital };
enum reMrIndexType{ rMI_NoMatch, rMI_Normal, rMI_Dian, rMI_PureDigital };
enum reParaType{ rPM_NoMatch, rPM_NoPara, rPM_Over, rPM_Length, rPM_Nits, rPM_Welt, rPM_paraGamma, rPM_PureDigital };
class CartridgeFinder
{
public:
const BOOL ReconstrKeyWord(CString&, CString&, CString&, CString&);
const BOOL Reconstr(CString&, CString&, CString&, CString&);
const BOOL Reconstr(CString&);
private:
const BOOL color(CString&);
const reColorType reColor(CString);
void reColorCrossTalk(CString&);
void reColorNits(CString&);
void reColorSe(CString&);
void reColorShortCode(CString&);
private:
const BOOL pointTotal(CString&);
const rePtTotalType rePointTotal(CString);
void rePointTotalGamma(CString&);
void rePointTotalCenter(CString&);
void rePointTotalWord(CString&);
void rePointTotalNormal(CString&);
void rePointTotalPureDig(CString&);
private:
const BOOL msrIndex(CString&);
const reMrIndexType reMsrIndex(CString);
void reMsrIndexDian(CString&);
void reMsrIndexNormal(CString&);
void reMsrIndexPureDig(CString&);
private:
const BOOL para(CString&);
const reParaType rePara(CString);
void reParaOver(CString&);
void reParaLength(CString&);
void reParaNoPara(CString&);
void reParaGamma(CString&);
void reParaNits(CString&);
void reParaPureDig(CString&);
private:
BOOL isNumber(const CString& strResult);
};
#endif