Data-Structures-and-Algorithms / Triage / PriorityQueue / Ailment.h
Ailment.h
Raw
/*  File Name: Ailment.hpp
	Author: Essam Fahmy
	Date: 2023-11-01

	Ailment class declarations
*/
#pragma once

#include <string>

class Ailment
{
private:
	std::string name_;
	int severity_;
	int timeCriticality_;
	int contagiousness_;

public:
	
	Ailment() : name_("Doe"), severity_(0), timeCriticality_(0), contagiousness_(0) {}
	Ailment(std::string name, int severity, int timeCriticality, int contagiousness);

	std::string get_name() const;
	int get_severity() const;
	int get_time_sensitivity() const;
	int get_contagiousness() const;

	bool operator==(const Ailment& other) const;
};