![]() | ||||||
#include <containr.h>
Description: an area which has some assignments. In practice, just a wrapper for an int. Why wrap an int? a) solves potential memory leaks b) keeps parallel structure with other container objects
Author : Michael Eldridge
Class reactivated 13mar03. ASO and crt reviewed global design and decided overhead was small and there were real benefits to maintenance. So we wrapped the int.
Definition at line 182 of file containr.h.
Public Member Functions | |
| ActiveArea (const int p_areaNum) | |
| Constructor for the ActiveArea container. | |
| ActiveArea (const ActiveArea &p_activeArea) | |
| Copy Constructor for the ActiveArea container. | |
| int | getActiveAreaNum (void) const |
| Returns the area number this container corresponds to. | |
Private Member Functions | |
| ActiveArea & | operator= (const ActiveArea &p_activeArea) |
Private Attributes | |
| const int | activeAreaNum |
| The number of this "active" area. | |
|
|
Constructor for the ActiveArea container. WARNING: Performs ZERO error-checking. Author : Michael Eldridge Updated: 10/12/02 ASO Definition at line 67 of file con_activ.cpp. |
|
|
Copy Constructor for the ActiveArea container. Author: Charles Twardy Definition at line 77 of file con_activ.cpp. |
|
|
Returns the area number this container corresponds to. Author : Michael Eldridge Definition at line 90 of file con_activ.cpp. References activeAreaNum. Referenced by Allocation::getTotalPOS(), ActiveAreasIterator::operator *(), ActiveAreasIterator::operator++(), printAssignments(), and UserDef::UserDef(). |
|
|
The number of this "active" area. This object stores a copy of the active area number. This object does not allow that value to be modified because such modification could potentially cause confusion: people might think they were modifying the Allocation itself, but they would not actually be doing so. Definition at line 210 of file containr.h. Referenced by getActiveAreaNum(). |
| (SARBayes) | Main | Related Pages | Class List | Hierarchy | Methods | Files |
|---|