-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCModes.cpp
More file actions
89 lines (82 loc) · 2.09 KB
/
CModes.cpp
File metadata and controls
89 lines (82 loc) · 2.09 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
78
79
80
81
82
83
84
85
86
87
88
89
#include "CModes.hpp"
CModes::CModes()
: __O(false),
__o(false),
__v(false),
__a(false),
__i(false),
__m(false),
__n(false),
__q(false),
__p(false),
__s(false),
__t(false),
__k(false),
__l(false)
{
return ;
}
CModes::CModes(const CModes &rhs)
: __O(rhs.__O),
__o(rhs.__o),
__v(rhs.__v),
__a(rhs.__a),
__i(rhs.__i),
__m(rhs.__m),
__n(rhs.__n),
__q(rhs.__q),
__p(rhs.__p),
__s(rhs.__s),
__t(rhs.__t),
__k(rhs.__k),
__l(rhs.__l)
{
return ;
}
CModes::~CModes()
{
return ;
}
CModes &CModes::operator=(const CModes &rhs)
{
this->__O = rhs.__O;
this->__o = rhs.__o;
this->__v = rhs.__v;
this->__a = rhs.__a;
this->__i = rhs.__i;
this->__m = rhs.__m;
this->__n = rhs.__n;
this->__q = rhs.__q;
this->__p = rhs.__p;
this->__s = rhs.__s;
this->__t = rhs.__t;
this->__k = rhs.__k;
this->__l = rhs.__l;
return *this;
}
bool CModes::get_O() const { return this->__O; }
bool CModes::get_o() const { return this->__o; }
bool CModes::get_v() const { return this->__v; }
bool CModes::get_a() const { return this->__a; }
bool CModes::get_i() const { return this->__i; }
bool CModes::get_m() const { return this->__m; }
bool CModes::get_n() const { return this->__n; }
bool CModes::get_q() const { return this->__q; }
bool CModes::get_p() const { return this->__p; }
bool CModes::get_s() const { return this->__s; }
bool CModes::get_t() const { return this->__t; }
bool CModes::get_k() const { return this->__k; }
bool CModes::get_l() const { return this->__l; }
void CModes::set_O(bool val) { this->__O = val; }
void CModes::set_o(bool val) { this->__o = val; }
void CModes::set_v(bool val) { this->__v = val; }
void CModes::set_a(bool val) { this->__a = val; }
void CModes::set_i(bool val) { this->__i = val; }
void CModes::set_m(bool val) { this->__m = val; }
void CModes::set_n(bool val) { this->__n = val; }
void CModes::set_q(bool val) { this->__q = val; }
void CModes::set_p(bool val) { this->__p = val; }
void CModes::set_s(bool val) { this->__s = val; }
void CModes::set_t(bool val) { this->__t = val; }
void CModes::set_k(bool val) { this->__k = val; }
void CModes::set_l(bool val) { this->__l = val; }