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

Class Owner

Project_E-Commerce_App_V2.0/Person.h:84–111  ·  view source on GitHub ↗

////////////////////////////////////////////

Source from the content-addressed store, hash-verified

82
83/////////////////////////////////////////////////
84class Owner : public Security { // 2nd Sub class of Security
85public:
86 // Constructor for User's sign up
87 Owner(string name, string tell, string login, string password) : Security(name, tell, login, password) { }
88 // get Name of User
89 string getName() {
90 return name;
91 }
92 // get Tell of User
93 string getTell() {
94 return tell;
95 }
96 // get Login of User
97 string getLogin() {
98 return login;
99 }
100 // get Password of User
101 string getPassword() {
102 return password;
103 }
104 // Display Info
105 void Display() {
106 cout << "Name: " << name << endl;
107 cout << "Tell: " << tell << endl;
108 cout << "Login: " << login << endl;
109 cout << "Password: " << password << endl;
110 }
111};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected