#ifndef __MACHINE_H__
#define __MACHINE_H__

#include <string>
#include <vector>

#include "job.h"

class Machine
{
    public:
        Machine(const std::string& machine_name);
        const std::string& get_name() const;
        void add_job(Job);
    private:
        std::string name;
        std::vector<Job> jobs;
};

#endif /* __MACHINE_H__ */

#ifndef __MACHINE_H__
#define __MACHINE_H__

#include <string>
#include <vector>

#include "job.h"

class Machine
{
    public:
        Machine(const std::string& machine_name);
        const std::string& get_name() const;
        void add_job(Job new_job);
    private:
        std::string name;
        std::vector<Job> jobs;
};

#endif /* __MACHINE_H__ */

Add name to add_job param
Add name to add_job param
