OptimisationProblem/structures/Employees.h

30 lines
546 B
C
Raw Permalink Normal View History

2023-07-17 00:19:10 +02:00
#pragma once
#include "Employee.h"
#include "Centers.h"
#include <string>
#include <iostream>
#include <fstream>
#include <vector>
#include <sstream>
// Employee registry
class Employees
{
private:
std::vector<Employee*> employees;
public:
Employees(const char* basePath, Centers& centers): Employees(std::string(basePath), centers)
{};
Employees(std::string basePath, Centers& centers);
std::vector<Employee*>::iterator begin()
{
return employees.begin();
}
std::vector<Employee*>::iterator end()
{
return employees.end();
}
};