#include <phonenum.h>
Inheritance diagram for phoneNum:


Public Methods | |
| phoneNum () | |
| ~phoneNum () | |
| phoneNum (const phoneNum &n) | |
| phoneNum & | operator= (const phoneNum &n) |
| void | phoneNum::SetArea (const string &Area) |
| The area for the phone number. More... | |
| void | phoneNum::SetPrefix (const string &Prefix) |
| The prefix for the phone number. More... | |
| void | phoneNum::SetSuffix (const string &Suffix) |
| The suffix for the phone number. More... | |
| string | phoneNum::GetArea () const |
| Returns the area for this phone number. More... | |
| string | phoneNum::GetPrefix () const |
| Returns the prefix for this phone number. More... | |
| string | phoneNum::GetSuffix () const |
| Returns the suffix for this phone number. More... | |
| string | ToString () |
| Formats a phone number for printing. More... | |
| string | ToFileFmt () |
| Formats a phone number for saving. More... | |
| bool | operator< (const phoneNum &p) |
| Used for sorting. More... | |
| bool | operator== (const phoneNum &p) |
| Used for finding. More... | |
|
|
|
|
|
|
|
|
|
|
|
Formats a phone number for saving.
Reimplemented from field. |
|
|
Formats a phone number for printing.
Reimplemented from field. |
|
|
Used for sorting.
|
|
|
|
|
|
Used for finding.
|
|
|
Returns the area for this phone number.
00047 {
00048 return m_Area;
00049 }
|
|
|
Returns the prefix for this phone number.
00053 {
00054 return m_Prefix;
00055 }
|
|
|
Returns the suffix for this phone number.
00059 {
00060 return m_Suffix;
00061 }
|
|
|
The area for the phone number.
00029 {
00030 m_Area = Area;
00031 }
|
|
|
The prefix for the phone number.
00035 {
00036 m_Prefix = Prefix;
00037 }
|
|
|
The suffix for the phone number.
00041 {
00042 m_Suffix = Suffix;
00043 }
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001