-
Notifications
You must be signed in to change notification settings - Fork 2
/
Admin.h
37 lines (31 loc) · 890 Bytes
/
Admin.h
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
/*
* Admin.h
*
* Created on: Feb 1, 2014
* Author: nzayatz14
*/
#ifndef ADMIN_H_
#define ADMIN_H_
#include "Bank.h"
#include "ExternalAccount.h"
#include "Person.h"
#include "Client.h"
#include "InternalAccount.h"
using namespace std;
class Admin: public Person {
public:
Admin(); // constructor for admin
virtual ~Admin(); // destructor for admin
void viewBank(); // views the Bank
void viewAccounts(); // views the total number of Accounts
void viewAccountInDetail(); // views a specific account in detail
void createAccount(); // create an account
void deleteAccount(); // deletes an account
void changePassword(); // changes password of a specific account
void printOptions(); // prints the options to screen
void logout(); // logouts of admin
void setBank(Bank &b); // sets the bank object equal to b
private:
Bank bank;
};
#endif /* ADMIN_H_ */