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

major Class Reference

#include <major.h>

Inheritance diagram for major:

Inheritance graph
[legend]
Collaboration diagram for major:

Collaboration graph
[legend]
List of all members.

Public Methods

 major ()
virtual ~major ()
 major (const major &major)
const major & operator= (const major &rhs)
bool operator== (const major &rhs)
bool operator< (const major &m)
void setMajor (string m)
string getMajorStr () const
void setMajorStr (const string &m)
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 major &m)

Protected Attributes

string m_major

Constructor & Destructor Documentation

major::major  
 

virtual major::~major   [virtual]
 

major::major const major &    major
 


Member Function Documentation

string major::ToFileFmt   [virtual]
 

Converts field to the current file format.

Reimplemented from field.

string major::ToParse int    fld [virtual]
 

Gets neccessary data to parse string.

Reimplemented from field.

string major::ToString   [virtual]
 

Returns the field as a string.

Reimplemented from field.

void major::copy const major &    m [protected]
 

string major::getMajorStr   const [inline]
 

00027     {
00028         return m_major;
00029     }

bool major::operator< const major &    m
 

const major& major::operator= const major &    rhs
 

bool major::operator== const major &    rhs
 

void major::setMajor string    m
 

void major::setMajorStr const string &    m [inline]
 

00032     {
00033         m_major = m;
00034     }


Member Data Documentation

string major::m_major [protected]
 


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