MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / Owner

Class Owner

Project_E-Commerce_App_V3.0/Person.h:96–127  ·  view source on GitHub ↗

//////////////////////////////////////////// 2nd Sub class of Security

Source from the content-addressed store, hash-verified

94/////////////////////////////////////////////////
95// 2nd Sub class of Security
96class Owner : public Security {
97public:
98 // Constructor for User's sign up
99 Owner(string name, string tell, string login, string password) : Security(name, tell, login, password) { }
100 // get Name of User
101 string getName() {
102 return name;
103 }
104
105 // get Tell of User
106 string getTell() {
107 return tell;
108 }
109
110 // get Login of User
111 string getLogin() {
112 return login;
113 }
114
115 // get Password of User
116 string getPassword() {
117 return password;
118 }
119
120 // Display Info
121 void Display() {
122 cout << "\t\tName : " << name << endl;
123 cout << "\t\tTell : " << tell << endl;
124 cout << "\t\tLogin : " << login << endl;
125 cout << "\t\tPassword : " << password << endl;
126 }
127};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected