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

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

Go to the documentation of this file.
00001 // Definition of class HourlyWorker
00002 #ifndef __J2K__HourlyWorker_HPP__
00003 #define __J2K__HourlyWorker_HPP__
00004 
00005 #include <j2k/Fred/Job/Employee.hpp>
00006 
00007 class HourlyWorker : public Employee {
00008 public:
00009 
00010    inline HourlyWorker( const char* first, const char* last,
00011                         double w, double h );
00012 
00013    inline void setWage(  double w );
00014    inline void setHours( double h );
00015 
00016    inline double earnings() const;
00017    inline void printName() const;
00018    inline void printInfo() const;
00019 
00020 private:
00021    double wage;   // wage per hour
00022    double hours;  // hours worked for week
00023 };
00024 
00025 #include <j2k/Fred/Job/HourlyWorker.inl>
00026 
00027 #endif
00028 

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