#include <address.h>
Inheritance diagram for address:


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... | |
|
|
|
|
|
|
|
|
|
|
|
Converts field to the current file format.
Reimplemented from field. |
|
|
Gets neccessary data to parse string.
Reimplemented from field. |
|
|
Returns the field as a string.
Reimplemented from field. |
|
|
|
|
|
00032 {
00033 return m_city;
00034 }
|
|
|
00037 {
00038 return m_state;
00039 }
|
|
|
00027 {
00028 return m_street;
00029 }
|
|
|
00042 {
00043 return m_zip;
00044 }
|
|
|
|
|
|
|
|
|
00052 {
00053 m_city = city;
00054 }
|
|
|
00057 {
00058 m_state = state;
00059 }
|
|
|
00047 {
00048 m_street = s;
00049 }
|
|
|
00062 {
00063 m_zip = z;
00064 }
|
|
|
The city.
|
|
|
The state.
|
|
|
The street.
|
|
|
The zip code.
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001