Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/etc/Job/PieceWorker.hpp

Go to the documentation of this file.
00001 // Definition of class PieceWorker
00002 
00003 #ifndef __J2K__PieceWorker_HPP__
00004 #define __J2K__PieceWorker_HPP__
00005 
00006 #include <j2k/Fred/Job/Employee.hpp>
00007 
00008 class PieceWorker : public Employee {
00009 public:
00010    PieceWorker( const char* first, const char* last, 
00011                 double w, UINT qty );
00012 
00013    void  setWage( double w    );
00014    void  setQuantity( UINT qty );
00015    void  printName() const;
00016 
00017    double earnings() const;
00018 
00019 private:
00020    double wagePerPiece;    // wage for each piece output
00021    UINT   quantity;        // output for week
00022 };
00023 
00024 #include <j2k/Fred/Job/PieceWorker.inl>
00025 
00026 #endif
00027 

Generated on Sun Oct 14 18:46:31 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001