////////////////////////////////////////////
| 82 | |
| 83 | ///////////////////////////////////////////////// |
| 84 | class Owner : public Security { // 2nd Sub class of Security |
| 85 | public: |
| 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 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected