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

dob Class Reference

#include <dob.h>

Inheritance diagram for dob:

Inheritance graph
[legend]
Collaboration diagram for dob:

Collaboration graph
[legend]
List of all members.

Public Methods

 dob ()
virtual ~dob ()
 dob (const dob &d)
const dob & operator= (const dob &rhs)
bool operator< (const dob &d)
int getYear () const
short int getMonth () const
short int getDay () const
void setYear (const int &year)
void setMonth (const int &month)
void setDay (const int &day)
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 dob &dob)

Protected Attributes

int m_year
short int m_month
short int m_day

Constructor & Destructor Documentation

dob::dob  
 

virtual dob::~dob   [virtual]
 

dob::dob const dob &    d
 


Member Function Documentation

virtual string dob::ToFileFmt   [virtual]
 

Converts field to the current file format.

Reimplemented from field.

virtual string dob::ToParse int    fld [virtual]
 

Gets neccessary data to parse string.

Reimplemented from field.

virtual string dob::ToString   [virtual]
 

Returns the field as a string.

Reimplemented from field.

void dob::copy const dob &    dob [protected]
 

short int dob::getDay   const [inline]
 

00040     {
00041         return m_day;
00042     }

short int dob::getMonth   const [inline]
 

00035     {
00036         return m_month;
00037     }

int dob::getYear   const [inline]
 

00030     {
00031         return m_year;
00032     }

bool dob::operator< const dob &    d
 

const dob& dob::operator= const dob &    rhs
 

void dob::setDay const int &    day [inline]
 

00057     {
00058         m_day = day;
00059     }

void dob::setMonth const int &    month [inline]
 

00052     {
00053         m_month = month;
00054     }

void dob::setYear const int &    year [inline]
 

00047     {
00048         m_year = year;
00049     }


Member Data Documentation

short int dob::m_day [protected]
 

short int dob::m_month [protected]
 

int dob::m_year [protected]
 


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