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

employee Class Reference

#include <employee.h>

Inheritance diagram for employee:

Inheritance graph
[legend]
Collaboration diagram for employee:

Collaboration graph
[legend]
List of all members.

Public Methods

string getDept ()
 employee ()
virtual ~employee ()
 employee (const employee &e)
const employee & operator= (const employee &rhs)
virtual void removec (int cIndex)=0
 Does nothing, but provide compatibility with personclass and special function for student class. More...

virtual void removea (int index)=0
virtual void removes (int index)=0
virtual string ToParse (int fld)
 Gets neccessary data to parse string. More...

virtual string ToString ()
 Returns the field as a string. More...

virtual string ToFileFmt ()
 Converts field to the current file format. More...


Protected Methods

void copy (const employee &e)

Protected Attributes

double m_salary
string m_department
string m_medPlan
string m_retPlan
string m_lifeIns

Constructor & Destructor Documentation

employee::employee  
 

virtual employee::~employee   [virtual]
 

employee::employee const employee &    e
 


Member Function Documentation

virtual string employee::ToFileFmt   [virtual]
 

Converts field to the current file format.

Reimplemented from person.

Reimplemented in faculty, and staff.

virtual string employee::ToParse int    fld [virtual]
 

Gets neccessary data to parse string.

Reimplemented from person.

Reimplemented in faculty, and staff.

virtual string employee::ToString   [virtual]
 

Returns the field as a string.

Reimplemented from person.

Reimplemented in faculty, and staff.

void employee::copy const employee &    e [protected]
 

string employee::getDept  
 

const employee& employee::operator= const employee &    rhs
 

virtual void employee::removea int    index [pure virtual]
 

Reimplemented from person.

Reimplemented in faculty, and staff.

virtual void employee::removec int    index [pure virtual]
 

Does nothing, but provide compatibility with personclass and special function for student class.

Reimplemented from person.

Reimplemented in faculty, and staff.

virtual void employee::removes int    index [pure virtual]
 

Reimplemented from person.

Reimplemented in faculty, and staff.


Member Data Documentation

string employee::m_department [protected]
 

string employee::m_lifeIns [protected]
 

string employee::m_medPlan [protected]
 

string employee::m_retPlan [protected]
 

double employee::m_salary [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Oct 22 20:19:12 2001 for University People Management System by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001