5 #include <unordered_set>
20 template <
class Idable>
23 bool operator()(Idable*
const & lhs, Idable*
const & rhs)
const
25 return lhs->GetId() < rhs->GetId();
29 typedef std::unordered_set<Software, Software::Hash>
SoftwareSet;
54 Job(
const std::string& name,
uint8 priority,
double requiredRAM,
double requiredDiskSpace,
uint executionTime);
76 void Print(std::ostream& os = std::cout)
const override;
77 void PrintWithId(std::ostream& os = std::cout)
const;
78 static void PrintHeader(std::ostream& os = std::cout,
bool withId =
false);