-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCourse.h
35 lines (30 loc) · 904 Bytes
/
Course.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
32
33
34
35
/*
Name: Eric Rabiner
Email: [email protected]
Date: July 6, 2019
*/
#ifndef sict_Course_H
#define sict_Course_H
#include <string>
#include <iomanip>
#include "Utilities.h"
namespace sict {
class Course {
unsigned int id;
std::string name;
std::string teacher;
Utilities _utility;
public:
Course(const std::string&);
const unsigned int getId() const;
const std::string& getName() const;
const std::string& getTeacher() const;
void display(std::ostream&) const;
Course(const Course&) = delete; // Do not allow Copy Construction
Course& operator=(const Course&) = delete; //Do not allow Copy Assignment
Course(Course&&); // Allow Move Construction
Course& operator=(Course&&); // Allow Move Assignment
};
std::ostream& operator<<(std::ostream&, const Course&);
}
#endif