-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTest.h
35 lines (30 loc) · 894 Bytes
/
Test.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_TEST_H
#define sict_TEST_H
#include <string>
#include <iomanip>
#include "Utilities.h"
namespace sict {
class Test {
unsigned int id;
unsigned int courseId;
unsigned int testWeight;
Utilities _utility;
public:
Test(const std::string&);
const unsigned int getId() const;
const unsigned int getCourseId() const;
const unsigned int getTestWeight() const;
void display(std::ostream&) const;
Test(const Test&) = delete; // Do not allow Copy Construction
Test& operator=(const Test&) = delete; //Do not allow Copy Assignment
Test(Test&&); // Allow Move Construction
Test& operator=(Test&&); // Allow Move Assignment
};
std::ostream& operator<<(std::ostream&, const Test&);
}
#endif