Public Member Functions | |
Vessel (int aID, int aLength=0, int aArriveTime=0, int aDepartureTime=0, Bool aStatus=FALSE, int aWharfMark=-1, int aNumTimeZones=0, int aBigDensity=0, int aAverageDensity=0) | |
Vessel (const Vessel &aVessel) | |
Vessel & | operator= (const Vessel &aVessel) |
void | Print (int aWidth=1, int aDetail=0) const |
int | GetVesID () const |
int | GetVesLength () const |
int | GetVirtualLength () const |
int | GetArriveTime () const |
Bool | GetPackStatus () const |
int | GetBigDensity () const |
int | GetPackingSpace () const |
int | GetDepartureTime () const |
int | GetAverageDensity () const |
int | GetNumberTimeZones () const |
int | GetWharfMarkAssignedTo () const |
int | GetVirtualWharfMark () const |
void | SetVesID (int aID) |
void | SetVesLength (int aLength) |
void | SetVirtualLength (int aVirtualLength) |
void | SetArriveTime (int aArriveTime) |
void | SetPackStatus (Bool aStatus) |
void | SetBigDensity (int aBigDensity) |
void | SetDepartureTime (int aDepartureTime) |
void | SetAverageDensity (int aAverageDensity) |
void | SetNumberTimeZones (int aNumTimeZones) |
void | SetWharfMarkAssignedTo (int aWharfMark) |
void | SetVirtualWharfMark (int aVirtualWharfMark) |
Friends | |
int | compare (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_VesID_Increase (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_VesID_Decrease (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_Length_Increase (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_Length_Decrease (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_WharfMark_Increase (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_WharfMark_Decrease (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_ArriveTime_Increase (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_ArriveTime_Decrease (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_DepartTime_Increase (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_DepartTime_Decrease (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_BigDensity_Increase (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_BigDensity_Decrease (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_AverageDensity_Increase (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_AverageDensity_Decrease (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_NumberTimeZone_Increase (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_NumberTimeZone_Decrease (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_PackingSpace_Increase (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_PackingSpace_Decrease (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_Duration_Increase (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_Duration_Decrease (const Vessel &Lhs, const Vessel &Rhs) |
ostream & | operator<< (ostream &aOutput, const Vessel &aVessel) |
istream & | operator>> (istream &aInput, Vessel &aVessel) |
Bool | IsOverlap (const Vessel &Lhs, const Vessel &Rhs) |
int | Comp_Gerg (const Vessel &Lhs, const Vessel &Rhs) |
Bool | operator== (const Vessel &Lhs, const Vessel &Rhs) |
Definition at line 42 of file Vessel.h.