-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLibraryStaff.h
44 lines (35 loc) · 1.08 KB
/
LibraryStaff.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
38
39
40
41
42
43
44
//LibraryStaff.h
//Made by Boyko Michael & Schotkin Maksim
// @@@@ SHOBO @@@@
// ****POWERED BY FRIENDSHIP****
// @@@@*******@@@@
// _____ _ _ ____ ____ ____
// / ____| | | |/ __ \| _ \ / __ \
// | (___ | |__| | | | | |_) | | | |
// \___ \| __ | | | | _ <| | | |
// ____) | | | | |__| | |_) | |__| |
// |_____/|_| |_|\____/|____/ \____/
//Version 1.0
#include <iostream>
#include "Librarian.h"
namespace Library {
const int MaxLibrarians = 20;
const int FirstLibrarianID = 9101;
class LibraryStaff
{
public:
LibraryStaff();
~LibraryStaff();
Librarian& addLibrarian(std::string librarianName, std::string job, int salary, std::string gender,
int age, std::string adress, std::string passport);
Librarian& getLibrarian(int librarianID);
Librarian& getLibrarian(std::string librarianName);
void displayAll();
void displayCurrent();
void displayFormer();
protected:
Librarian librarianList[MaxLibrarians];
int nextSlot;
int nextLibrarianID;
};
}