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

staff.h

Go to the documentation of this file.
00001 // staff.h
00002 //
00003 
00004 #if !defined(staff_h)
00005 #define staff_h
00006 #include <string>
00007 
00008 using namespace std;
00009 
00010 /*
00011  * Information necessary to represent a staff member.
00012  */
00013 
00014 #include "employee.h"
00015 
00016 
00017 class staff : public employee
00018 {
00019 public:
00020     staff();
00021     virtual ~staff();
00022     staff(const staff& s);
00023     const staff& operator=(const staff& rhs);
00024 
00025     virtual void removec(int index);
00026     virtual void removea(int index);
00027     virtual void removes(int index);
00028 
00029 
00030 public:
00031     inline int getSuperV()
00032     {
00033         return m_superV;
00034     }
00035 
00036     inline void setSuperV(const int& s)
00037     {
00038         m_superV = s;
00039     }
00040     
00041     string ToParse(int fld);
00042     string ToString();
00043     string ToFileFmt();
00044 
00045 protected:
00046     void copy(const staff& s);
00047 
00048     /*
00049      * This is the staff person's direct supervisor
00050      */
00051     int m_superV;
00052 
00053 private:
00054 
00055 
00056 };
00057 
00058 #endif /* staff_h */

Generated on Mon Oct 22 20:18:45 2001 for University People Management System by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001