-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubject.h
53 lines (50 loc) · 1.02 KB
/
subject.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef subject_h
#define subject_h
#include <string>
#include <sstream>
class Subject{
//sub
int val;
bool isC;
bool isG;
bool isT;
//Crit
int critOwner;//0B 1R 2O 3Y
int critType;//1 for Ass 2 for Mid 3 for Exam
//Goal
int goalOwner;//0B 1R 2O 3Y
//Tile
int tileType;//0Caff 1Lab 2Lec 3Stu 4Tut 5Net
int tileNum;
public:
//sub
Subject();
~Subject();
bool isCrit();
bool isGoal();
bool isTile();
void setValue(int);
int getValue();
//Crit
void setCrit();
void buildCrit(int);
int getCritOwner();
int getCritType();
void impCritType(int);
std::string formatCrit();
//Goal
void setGoal();
void setGoalOwner(int);
int getGoalOwner();
std::string formatGoal();
//Tile
void setTile();
void setTileType(int);
void setTileNum(int);
int getTileType();
int getTileNum();
std::string formatTileVal();
std::string formatTileNum();
std::string formatTileName();
};
#endif /* subject_h */