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

student Class Reference

#include <student.h>

Inheritance diagram for student:

Inheritance graph
[legend]
Collaboration diagram for student:

Collaboration graph
[legend]
List of all members.

Public Methods

 student ()
virtual ~student ()
 student (const student &s)
const student & operator= (const student &rhs)
virtual void removec (int cIndex)
 These Three functions required from person. More...

virtual void removea (int index)=0
virtual void removes (int index)
int getAdvisor ()
major getMajor ()
vector< cGradegetCourses ()
 setAdvisor (const int &a)
 setMajor (const major &m)
 setCourses (const vector< cGrade > &c)
string ToParse ()
string ToString ()
 Returns the field as a string. More...

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


Protected Methods

void copy (const student &s)

Protected Attributes

int m_advisor
major m_major
vector< cGradem_courses

Constructor & Destructor Documentation

student::student  
 

virtual student::~student   [virtual]
 

student::student const student &    s
 


Member Function Documentation

string student::ToFileFmt   [virtual]
 

Converts field to the current file format.

Reimplemented from person.

Reimplemented in gstud, and ustud.

string student::ToParse  
 

string student::ToString   [virtual]
 

Returns the field as a string.

Reimplemented from person.

Reimplemented in gstud, and ustud.

void student::copy const student &    s [protected]
 

int student::getAdvisor   [inline]
 

00068     {
00069         return m_advisor;
00070     }

vector<cGrade> student::getCourses   [inline]
 

00078     {
00079         return m_courses;
00080     }

major student::getMajor   [inline]
 

00073     {
00074         return m_major;
00075     }

const student& student::operator= const student &    rhs
 

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

Reimplemented from person.

Reimplemented in gstud, and ustud.

virtual void student::removec int    cIndex [virtual]
 

These Three functions required from person.

Reimplemented from person.

virtual void student::removes int    index [virtual]
 

Reimplemented from person.

student::setAdvisor const int &    a [inline]
 

00083     {
00084         m_advisor = a;
00085     }

student::setCourses const vector< cGrade > &    c [inline]
 

00093     {
00094         m_courses = c;
00095     }

student::setMajor const major   m [inline]
 

00088     {
00089         m_major = m;
00090     }


Member Data Documentation

int student::m_advisor [protected]
 

vector<cGrade> student::m_courses [protected]
 

major student::m_major [protected]
 


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