ContactInfo Class

The ContactInfo class is derived from
ContactInfoBase.
It is the top level object in the system and encapsulates contact information.
Defined in: contactinfo.hpp and
contactinfo.cpp
Class Members
Data Members
public
NameInfo nameInfo
An object that contains
information on the contact's name(s).
HomeInfo homeInfo
An object that contains
information related to the contact's home. (e.g. address and phone number)
BusinessInfo businessInfo
An object that contains
information related to the contact's business. (e.g. company name and job title)
PersonalInfo personalInfo
An object that contains
personal information about the contact. (e.g. birthday, gender and
relationships)
MiscellaneousInfo miscellaneousInfo
An object that contains
miscellaneous information about the contact.
EmailAddresses emailAddresses
An object that contains a list
of the contact's email addresses
Member Functions
public
ContactInfo
(void)
Constructs a ContactInfo object.
ContactInfo
(const ContactInfo & that)
Constructs a ContactInfo
object that is a copy of the specified ContactInfo object.
virtual ~ContactInfo
(void)
Destructs a ContactInfo object
ContactInfo & operator=
(const ContactInfo & that)
Assignment operator.
virtual bool
operator==
(const ContactInfo & that)
Equality operator.
virtual bool
operator!=
(const ContactInfo & that)
Inequality operator.
virtual bool
operator<
(const ContactInfo & that)
Less than operator.
virtual bool
operator>
(const ContactInfo & that)
Greater than operator.
virtual void
clear (void)
Clears all the data fields in
the object.
virtual void
populateEditView
(void)
Overrides VObject's populateEditView function and initializes the object's data members with values that will be displayed during the view
editing process.
friend ostream &
operator<<
(ostream & os, ContactInfo & obj)
Streams the object out.
friend istream & operator>>
(istream & is, ContactInfo & obj)
Stream object in.
char * getName
(void)
Returns the contact's name.
char * getEmailAddress
(void)
Returns the contact's default
email address.
char * getHomePhone
(void)
Returns the contact's home
phone number.
char * getPager
(void)
Returns the contact's pager
number.
char * getMobile
(void)
Returns the contact's mobile
phone number.
char * getPersonalWebPage
(void)
Returns the contact's personal
web page address.
char * getBusinessPhone
(void)
Returns the contact's business
phone number.
char * getBusinessFax
(void)
Returns the contact's business
fax number.
char * getJobTitle
(void)
Returns the contact's job
title.
char * getDepartment
(void)
Returns the contact's
department name.
char * getOffice
(void)
Returns the contact's office
name/location.
char * getCompany
(void)
Returns the contact's company
name.
char * getBusinessWebPage
(void)
Returns the contact's company
web page address.
|