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

name Class Reference

#include <name.h>

Inheritance diagram for name:

Inheritance graph
[legend]
Collaboration diagram for name:

Collaboration graph
[legend]
List of all members.

Public Methods

 name ()
virtual ~name ()
 name (const name &n)
const name & operator= (const name &rhs)
bool operator< (const name &rhs)
bool operator== (const name &rhs)
string getFirst () const
string getLast () const
string getMiddle () const
void setFirst (const string &f)
void setMiddle (const string &m)
void setLast (const string &l)
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 name &n)

Protected Attributes

string m_first
string m_last
string m_middle

Constructor & Destructor Documentation

name::name  
 

virtual name::~name   [virtual]
 

name::name const name &    n
 


Member Function Documentation

string name::ToFileFmt   [virtual]
 

Converts field to the current file format.

Reimplemented from field.

string name::ToParse int    fld [virtual]
 

Gets neccessary data to parse string.

Reimplemented from field.

string name::ToString   [virtual]
 

Returns the field as a string.

Reimplemented from field.

void name::copy const name &    n [protected]
 

string name::getFirst   const [inline]
 

00027     {
00028         return m_first;
00029     }

string name::getLast   const [inline]
 

00032     {
00033         return m_last;
00034     }

string name::getMiddle   const [inline]
 

00037     {
00038         return m_middle;
00039     }

bool name::operator< const name &    rhs
 

const name& name::operator= const name &    rhs
 

bool name::operator== const name &    rhs
 

void name::setFirst const string &    f [inline]
 

00042     {
00043         m_first = f;
00044     }

void name::setLast const string &    l [inline]
 

00052     {
00053         m_last = l;
00054     }

void name::setMiddle const string &    m [inline]
 

00047     {
00048         m_middle = m;
00049     }


Member Data Documentation

string name::m_first [protected]
 

string name::m_last [protected]
 

string name::m_middle [protected]
 


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