This class implements a dynamic vector of int values.
Definition: intvector.h:11
This is the class used to store information about the areas an object is defined on for the current m...
Definition: livesonareas.h:10
IntVector areas
This is the IntVector of internal areas that the object is defined on.
Definition: livesonareas.h:51
virtual ~LivesOnAreas()
This is the default LivesOnAreas destructor.
Definition: livesonareas.h:19
int isInArea(int area) const
This function will check whether the object is defined on a specified area.
Definition: livesonareas.cc:27
void storeAreas(const IntVector &Areas)
This function will store the internal areas to be used.
Definition: livesonareas.cc:39
LivesOnAreas()
This is the default LivesOnAreas constructor.
Definition: livesonareas.h:15
IntVector & getAreas()
This function will return the internal areas that the object is defined on.
Definition: livesonareas.h:35
int areaNum(int area) const
This function will return the area associated with an internal area.
Definition: livesonareas.cc:33