-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcmdline.h
More file actions
78 lines (63 loc) · 2.32 KB
/
cmdline.h
File metadata and controls
78 lines (63 loc) · 2.32 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// cmdline.h
#pragma once
#include <string>
std::string string_printf( const std::string format, ...);
class CCmdLineParameter
{
int dataStructure; // 1 = PSI
std::string logPath;
std::string logName;
std::string logType;
std::string logFileName;
std::string name;
void SplitName(const std::string &s);
void GenerateNames();
void GenNames();
void GenNamesPSI();
std::string name_Batch;
std::string path_Report;
std::string name_Report;
std::string path_ClassList;
std::string name_ClassList;
std::string path_FailList;
std::string name_FailList;
std::string path_Statistics;
std::string name_Statistics;
std::string path_Pick;
std::string name_Pick;
std::string path_JSON;
std::string name_JSON;
std::string path_XML;
std::string path_WaferMap;
std::string name_WaferMap;
std::string path_YieldsFile;
std::string name_YieldsFile;
std::string path_ChipView;
std::string name_ChipView;
public:
void Help();
bool Process(int argc, char* argv[]);
std::string GetName() { return logName; }
std::string GetName_Log() { return logFileName; }
std::string GetName_Batch() { return name_Batch; }
std::string GetPath_Report() { return path_Report; }
std::string GetPath_ClassList() { return path_ClassList; }
std::string GetPath_FailList() { return path_FailList; }
std::string GetPath_Statistics() { return path_Statistics; }
std::string GetPath_Pick() { return path_Pick; }
std::string GetPath_JSON() { return path_JSON; }
std::string GetPath_XML() { return path_XML; }
std::string GetPath_WaferMap() { return path_WaferMap; }
std::string GetPath_YieldsFile() { return path_YieldsFile; }
std::string GetPath_ChipView() { return path_ChipView; }
std::string GetName_Report() { return name_Report; }
std::string GetName_ClassList() { return name_ClassList; }
std::string GetName_FailList() { return name_FailList; }
std::string GetName_Statistics() { return name_Statistics; }
std::string GetName_Pick() { return name_Pick; }
std::string GetName_JSON() { return name_JSON; }
std::string GetName_WaferMap(const std::string &suffix) { return name_WaferMap + suffix + ".ps"; }
std::string GetName_YieldsFile(const std::string &suffix) { return name_YieldsFile + suffix + ".txt"; }
std::string GetName_ChipView(const std::string &suffix) { return name_ChipView + suffix + ".ps"; }
};
extern CCmdLineParameter gName;