-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSkillset.h
42 lines (37 loc) · 1.07 KB
/
Skillset.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
#ifndef SKILLSET_H
#define SKILLSET_H
#include <string>
#include <vector>
#include "Employee.h"
using namespace std;
//Goal -> build skills database
//Define new Skills ADT
//------Structure---------
//Top level Database
//contains employee data types
//employee data type contains skills
//employee automatically updates skills with pointer
//skill data type?
//------Functions---------
//Add employee
//Add skill
//overload [][] - [skill][employee*]
//------Variables----------
//vector/array of employees ADT
//Skill name - row 2 contains vector with *Employee
//
class Skillset
{
public:
Skillset(vector<Employee> Employees_in);
void remove_company_skill(string skill_name);
void add_company_skill(string skill_name);
void add_employee(string skill_name, Employee employee_name);
void remove_employee(string skill_name, Employee * employee_name);
Employee * get_available_employee(string skill_name);
//operator [][]
private:
vector<string> Company_skills;
vector<vector<Employee>> Qualified_Employees;
};
#endif //Skillset