#include <PieceWorker.hpp>
Inheritance diagram for PieceWorker::

Public Methods | |
| PieceWorker (const char *first, const char *last, double w, UINT qty) | |
| void | setWage (double w) |
| void | setQuantity (UINT qty) |
| void | printName () const |
| double | earnings () const |
Private Attributes | |
| double | wagePerPiece |
| UINT | quantity |
|
||||||||||||||||||||
|
Definition at line 8 of file PieceWorker.inl. 00010 : Employee( first, last ), wagePerPiece( w ), quantity( qty ) { } |
|
|
Reimplemented from Employee. Definition at line 23 of file PieceWorker.inl. 00023 {
00024 return (quantity * wagePerPiece);
00025 }
|
|
|
Reimplemented from Employee. Definition at line 28 of file PieceWorker.inl. 00029 {
00030 cout << "\n Piece worker: ";
00031 Employee::printName();
00032 }
|
|
|
Definition at line 18 of file PieceWorker.inl. 00018 {
00019 quantity = qty;
00020 }
|
|
|
Definition at line 13 of file PieceWorker.inl. 00013 {
00014 wagePerPiece = w;
00015 }
|
|
|
Definition at line 21 of file PieceWorker.hpp. |
|
|
Definition at line 20 of file PieceWorker.hpp. |
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001