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