![]() | ||||||
#include <containr.h>
Logically a tuple (area, time), an AreaAssignment is a pair of numbers belonging to a resource, giving an area to which that resource has been assigned, and the time for which it has been assigned to that area. A resource can have many AreaAssignments.
Author : Michael Eldridge
Public Member Functions | |
| AreaAssignment (const int p_areaNum, const double p_time) | |
| Constructor for AreaAssignment, given (area number, time). | |
| AreaAssignment (const AreaAssignment &p_areaAssignment) | |
| Copy constructor for AreaAssignment. | |
| int | getAreaNum (void) const |
| Returns the area number stored in this AreaAssignment. | |
| double | getTime (void) const |
| Returns the time stored in this AreaAssignment. | |
|
||||||||||||
|
Constructor for AreaAssignment, given (area number, time). Author : Michael Eldridge |
|
|
Copy constructor for AreaAssignment. Author : Charles Twardy |
|
|
Returns the area number stored in this AreaAssignment. We use a "get" function with no "set" function (rather than just declaring the variable public) so that the calling function cannot change the data. Author : Michael Eldridge |
|
|
Returns the time stored in this AreaAssignment. We use a "get" function with no "set" function (rather than just declaring the variable public) so that the calling function cannot change the data. Author : Michael Eldridge |
| (SARBayes) | Main | Related Pages | Class List | Hierarchy | Methods | Files |
|---|