-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.cpp
More file actions
63 lines (49 loc) · 1.66 KB
/
main.cpp
File metadata and controls
63 lines (49 loc) · 1.66 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
#include "value_check.h"
#include "read_write.h"
#include "simple_checker.h"
#include <iostream>
int main() {
ReadWrite read_write;
std::cout << "------ Sample: Convert String to Json ------\n";
read_write.ReadJson();
std::cout << "\n";
std::cout << "------ Sample: Convert String to Json 2 ----\n";
read_write.ReadJson2();
std::cout << "\n";
std::cout << "------ Sample: Convert Json to String ------\n";
read_write.WriteJson();
std::cout << "\n";
std::cout << "------ Sample: Convert Json to String 2 ----\n";
read_write.WriteJson2();
std::cout << "\n";
std::cout << "------ Sample: Json Traversal ------\n";
read_write.JsonTraversal();
std::cout << "\n";
ValueCheck value_check;
std::cout << "------ Sample: Check UInt Value ------\n";
value_check.CheckUInt();
std::cout << "\n";
std::cout << "------ Sample: Check String UInt Value -----\n";
value_check.CheckStringUInt();
std::cout << "\n";
std::cout << "------ Sample: Check Real Value ------\n";
value_check.CheckReal();
std::cout << "\n";
std::cout << "------ Sample: Check Bool Value ------\n";
value_check.CheckBool();
std::cout << "\n";
std::cout << "------ Sample: Check Bool 2 Value ------\n";
value_check.CheckBool2();
std::cout << "\n";
std::cout << "------ Sample: Check Real Value 2 ------\n";
value_check.CheckReal2();
std::cout << "\n";
std::cout << "------ Sample: Check None ------\n";
value_check.CheckNone();
std::cout << "\n";
SimpleChecker simple_checker;
std::cout << "------ Sample: Simple Checker ------\n";
simple_checker.CheckValue();
std::cout << "\n";
return 0;
}