This repository was archived by the owner on Jan 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproductionRun.cpp
More file actions
50 lines (38 loc) · 1.46 KB
/
Copy pathproductionRun.cpp
File metadata and controls
50 lines (38 loc) · 1.46 KB
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
/*----------------------------------------------------------------------------+
| Author: Jerome Richards |
| |
| Assignment: Project 10 |
| File: productionRun.cpp |
| |
| Instructor: Dr. Roger deBry |
| Class: CNS-1350 Section X01 |
| |
| Date Written: April 03, 2005 |
| |
| Description: CProductionRun class implementation |
+----------------------------------------------------------------------------*/
#include <cassert>
#include "productionRun.h"
CProductionRun::CProductionRun( int run, string id, double life, CBatch* batch )
{
assert( batch != NULL );
itsRun = run;
itsID = id;
itsLife = life;
itsBatch = batch;
}
CProductionRun::~CProductionRun()
{
}
int CProductionRun::getRun()
{
return itsRun;
}
double CProductionRun::getLife()
{
return itsLife;
}
CBatch* CProductionRun::getBatch()
{
return itsBatch;
}