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


Public Methods | |
| phone () | |
| ~phone () | |
| phone (const phone &p) | |
| const phone & | operator= (const phone &rhs) |
| bool | operator< (const phone &rhs) |
| bool | operator== (const phone &rhs) |
| string | getArea () const |
| string | getPrefix () const |
| string | getSuffix () const |
| void | setArea (const string &a) |
| void | setPrefix (const string &p) |
| void | setSuffix (const string &s) |
| 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 phone &p) |
Protected Attributes | |
| string | m_area |
| string | m_prefix |
| string | m_suffix |
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
|
|
|
00028 {
00029 return m_area;
00030 }
|
|
|
00033 {
00034 return m_prefix;
00035 }
|
|
|
00038 {
00039 return m_suffix;
00040 }
|
|
|
|
|
|
|
|
|
|
|
|
00043 {
00044 m_area = a;
00045 }
|
|
|
00048 {
00049 m_prefix = p;
00050 }
|
|
|
00053 {
00054 m_suffix = s;
00055 }
|
|
|
|
|
|
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001