-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTask.h
31 lines (28 loc) · 806 Bytes
/
Task.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
// Name: ANTONIO BENNETT
// Seneca Student ID: 118914183
// Seneca email: [email protected]
// Date of completion: November 26, 2019 *Think I left this out in MS1*
//
// I confirm that I am the only author of this file
// and the content was created entirely by me.
#pragma once
#include <iostream>
#include <deque>
#include <string>
#include "Item.h"
#include "CustomerOrder.h"
class Task : public Item
{
std::deque<CustomerOrder> m_orders;
Task *m_pNextTask;
public:
Task(const std::string& record);
Task(Task& copy) = delete;
Task& operator=(Task& copy_assign) = delete;
void runProcess(std::ostream& os);
bool moveTask();
void setNextTask(Task&);
bool getCompleted(CustomerOrder&);
void validate(std::ostream&);
Task& operator+=(CustomerOrder&&);
};