24 Delivery(
string id,
string name,
int gears,
int capacity )
throw ( invalid_argument );
25 void setID(
string id )
throw ( invalid_argument );
26 void setCapacity(
int capacity )
throw ( invalid_argument );
27 int getCapacity()
const;
28 virtual void print( ostream &out = cout )
const;
29 virtual void read( istream &in )
throw ( invalid_argument );
Definition: delivery.h:20
int capacity
Definition: delivery.h:32