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

phone Class Reference

#include <phone.h>

Inheritance diagram for phone:

Inheritance graph
[legend]
Collaboration diagram for phone:

Collaboration graph
[legend]
List of all members.

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

Constructor & Destructor Documentation

phone::phone  
 

phone::~phone  
 

phone::phone const phone &    p
 


Member Function Documentation

string phone::ToFileFmt   [virtual]
 

Converts field to the current file format.

Reimplemented from field.

string phone::ToParse int    fld [virtual]
 

Gets neccessary data to parse string.

Reimplemented from field.

string phone::ToString   [virtual]
 

Returns the field as a string.

Reimplemented from field.

void phone::copy const phone &    p [protected]
 

string phone::getArea   const [inline]
 

00028     {
00029         return m_area;
00030     }

string phone::getPrefix   const [inline]
 

00033     {
00034         return m_prefix;
00035     }

string phone::getSuffix   const [inline]
 

00038     {
00039         return m_suffix;
00040     }

bool phone::operator< const phone &    rhs
 

const phone& phone::operator= const phone &    rhs
 

bool phone::operator== const phone &    rhs
 

void phone::setArea const string &    a [inline]
 

00043     {
00044         m_area = a;
00045     }

void phone::setPrefix const string &    p [inline]
 

00048     {
00049         m_prefix = p;
00050     }

void phone::setSuffix const string &    s [inline]
 

00053     {
00054         m_suffix = s;
00055     }


Member Data Documentation

string phone::m_area [protected]
 

string phone::m_prefix [protected]
 

string phone::m_suffix [protected]
 


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