Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

Vessel Class Reference

#include <Vessel.h>


Detailed Description

Definition at line 42 of file Vessel.h.

Public Member Functions

 Vessel ()
 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 ()
Vesseloperator= (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)

Private Attributes

int mID
int mLength
int mArriveTime
int mDepartureTime
Bool mStatus
int mWharfMark
int mNumTimeZones
int mBigDensity
int mAverageDensity
int mVirtualLength
int mVirtualWharfMark

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)


Constructor & Destructor Documentation

Vessel::Vessel  ) 
 

Vessel::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::Vessel const Vessel aVessel  ) 
 

Vessel::~Vessel  ) 
 


Member Function Documentation

int Vessel::GetArriveTime  )  const
 

int Vessel::GetAverageDensity  )  const
 

int Vessel::GetBigDensity  )  const
 

int Vessel::GetDepartureTime  )  const
 

int Vessel::GetNumberTimeZones  )  const
 

int Vessel::GetPackingSpace  )  const
 

Bool Vessel::GetPackStatus  )  const
 

int Vessel::GetVesID  )  const
 

int Vessel::GetVesLength  )  const
 

int Vessel::GetVirtualLength  )  const
 

int Vessel::GetVirtualWharfMark  )  const
 

int Vessel::GetWharfMarkAssignedTo  )  const
 

Vessel& Vessel::operator= const Vessel aVessel  ) 
 

void Vessel::Print int  aWidth = 1,
int  aDetail = 0
const
 

void Vessel::SetArriveTime int  aArriveTime  ) 
 

void Vessel::SetAverageDensity int  aAverageDensity  ) 
 

void Vessel::SetBigDensity int  aBigDensity  ) 
 

void Vessel::SetDepartureTime int  aDepartureTime  ) 
 

void Vessel::SetNumberTimeZones int  aNumTimeZones  ) 
 

void Vessel::SetPackStatus Bool  aStatus  ) 
 

void Vessel::SetVesID int  aID  ) 
 

void Vessel::SetVesLength int  aLength  ) 
 

void Vessel::SetVirtualLength int  aVirtualLength  ) 
 

void Vessel::SetVirtualWharfMark int  aVirtualWharfMark  ) 
 

void Vessel::SetWharfMarkAssignedTo int  aWharfMark  ) 
 


Friends And Related Function Documentation

int Comp_ArriveTime_Decrease const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_ArriveTime_Increase const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_AverageDensity_Decrease const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_AverageDensity_Increase const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_BigDensity_Decrease const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_BigDensity_Increase const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_DepartTime_Decrease const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_DepartTime_Increase const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_Duration_Decrease const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_Duration_Increase const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_Gerg const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_Length_Decrease const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_Length_Increase const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_NumberTimeZone_Decrease const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_NumberTimeZone_Increase const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_PackingSpace_Decrease const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_PackingSpace_Increase const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_VesID_Decrease const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_VesID_Increase const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_WharfMark_Decrease const Vessel Lhs,
const Vessel Rhs
[friend]
 

int Comp_WharfMark_Increase const Vessel Lhs,
const Vessel Rhs
[friend]
 

int compare const Vessel Lhs,
const Vessel Rhs
[friend]
 

Bool IsOverlap const Vessel Lhs,
const Vessel Rhs
[friend]
 

ostream& operator<< ostream &  aOutput,
const Vessel aVessel
[friend]
 

Bool operator== const Vessel Lhs,
const Vessel Rhs
[friend]
 

istream& operator>> istream &  aInput,
Vessel aVessel
[friend]
 


Field Documentation

int Vessel::mArriveTime [private]
 

Definition at line 180 of file Vessel.h.

int Vessel::mAverageDensity [private]
 

Definition at line 186 of file Vessel.h.

int Vessel::mBigDensity [private]
 

Definition at line 185 of file Vessel.h.

int Vessel::mDepartureTime [private]
 

Definition at line 181 of file Vessel.h.

int Vessel::mID [private]
 

Definition at line 178 of file Vessel.h.

int Vessel::mLength [private]
 

Definition at line 179 of file Vessel.h.

int Vessel::mNumTimeZones [private]
 

Definition at line 184 of file Vessel.h.

Bool Vessel::mStatus [private]
 

Definition at line 182 of file Vessel.h.

int Vessel::mVirtualLength [private]
 

Definition at line 189 of file Vessel.h.

int Vessel::mVirtualWharfMark [private]
 

Definition at line 190 of file Vessel.h.

int Vessel::mWharfMark [private]
 

Definition at line 183 of file Vessel.h.


The documentation for this class was generated from the following file:
Generated on Thu Sep 29 21:28:02 2005 for BAPS by  doxygen 1.4.4