-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMark.h
35 lines (30 loc) · 892 Bytes
/
Mark.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_MARK_H
#define sict_MARK_H
#include <string>
#include <iomanip>
#include "Utilities.h"
namespace sict {
class Mark {
unsigned int testId;
unsigned int studentId;
unsigned int mark;
Utilities _utility;
public:
Mark(const std::string&);
const unsigned int getTestId() const;
const unsigned int getStudentId() const;
const unsigned int getMark() const;
void display(std::ostream&) const;
Mark(const Mark&) = delete; // Do not allow Copy Construction
Mark& operator=(const Mark&) = delete; //Do not allow Copy Assignment
Mark(Mark&&); // Allow Move Construction
Mark& operator=(Mark&&); // Allow Move Assignment
};
std::ostream& operator<<(std::ostream&, const Mark&);
}
#endif