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

address Class Reference

#include <address.h>

Inheritance diagram for address:

Inheritance graph
[legend]
Collaboration diagram for address:

Collaboration graph
[legend]
List of all members.

Public Methods

 address ()
virtual ~address ()
 address (const address &a)
const address & operator= (const address &rhs)
bool operator< (address &rhs)
string getStreet () const
string getCity () const
string getState () const
string getZip () const
void setStreet (const string &s)
void setCity (const string &city)
void setState (const string &state)
void setZip (const string &z)
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 address &a)

Protected Attributes

string m_street
 The street. More...

string m_city
 The city. More...

string m_state
 The state. More...

string m_zip
 The zip code. More...


Constructor & Destructor Documentation

address::address  
 

virtual address::~address   [virtual]
 

address::address const address &    a
 


Member Function Documentation

virtual string address::ToFileFmt   [virtual]
 

Converts field to the current file format.

Reimplemented from field.

virtual string address::ToParse int    fld [virtual]
 

Gets neccessary data to parse string.

Reimplemented from field.

virtual string address::ToString   [virtual]
 

Returns the field as a string.

Reimplemented from field.

void address::copy const address &    a [protected]
 

string address::getCity   const [inline]
 

00032     {
00033         return m_city;
00034     }

string address::getState   const [inline]
 

00037     {
00038         return m_state;
00039     }

string address::getStreet   const [inline]
 

00027     {
00028         return m_street;
00029     }

string address::getZip   const [inline]
 

00042     {
00043         return m_zip;
00044     }

bool address::operator< address &    rhs
 

const address& address::operator= const address &    rhs
 

void address::setCity const string &    city [inline]
 

00052     {
00053         m_city = city;
00054     }

void address::setState const string &    state [inline]
 

00057     {
00058         m_state = state;
00059     }

void address::setStreet const string &    s [inline]
 

00047     {
00048         m_street = s;
00049     }

void address::setZip const string &    z [inline]
 

00062     {
00063         m_zip = z;
00064     }


Member Data Documentation

string address::m_city [protected]
 

The city.

string address::m_state [protected]
 

The state.

string address::m_street [protected]
 

The street.

string address::m_zip [protected]
 

The zip code.


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