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

faculty Class Reference

#include <faculty.h>

Inheritance diagram for faculty:

Inheritance graph
[legend]
Collaboration diagram for faculty:

Collaboration graph
[legend]
List of all members.

Public Methods

 faculty ()
virtual ~faculty ()
 faculty (const faculty &f)
const faculty & operator= (const faculty &f)
virtual void removec (int index)
 Does nothing, but provide compatibility with personclass and special function for student class. More...

virtual void removea (int index)
virtual void removes (int index)
vectorint getCourses () const
vectorstring getInterests () const
void setCourses (const vectorint &courses)
void setInterests (const vectorstring &interests)
string ToParse (int fld)
 Gets neccessary data to parse string. More...

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

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


Protected Methods

void copy (const faculty &f)

Protected Attributes

vectorint m_courses
vectorstring m_resInterests

Constructor & Destructor Documentation

faculty::faculty  
 

virtual faculty::~faculty   [virtual]
 

faculty::faculty const faculty &    f
 


Member Function Documentation

string faculty::ToFileFmt   [virtual]
 

Converts field to the current file format.

Reimplemented from employee.

string faculty::ToParse int    fld [virtual]
 

Gets neccessary data to parse string.

Reimplemented from employee.

string faculty::ToString   [virtual]
 

Returns the field as a string.

Reimplemented from employee.

void faculty::copy const faculty &    f [protected]
 

vectorint faculty::getCourses   const [inline]
 

00036     {
00037         return m_courses;
00038     }

vectorstring faculty::getInterests   const [inline]
 

00041     {
00042         return m_resInterests;
00043     }

const faculty& faculty::operator= const faculty &    f
 

virtual void faculty::removea int    index [virtual]
 

Reimplemented from employee.

virtual void faculty::removec int    index [virtual]
 

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

Reimplemented from employee.

virtual void faculty::removes int    index [virtual]
 

Reimplemented from employee.

void faculty::setCourses const vectorint   courses [inline]
 

00046     {
00047         m_courses.assign(courses.begin(),courses.end());
00048     }

void faculty::setInterests const vectorstring   interests [inline]
 

00051     {
00052         m_resInterests.assign(interests.begin(), interests.end());
00053     }


Member Data Documentation

vectorint faculty::m_courses [protected]
 

vectorstring faculty::m_resInterests [protected]
 


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