Fairport  v1.0.38
fairport::contact Class Reference

Encapsulates a contact. More...

#include <contact.h>

+ Inheritance diagram for fairport::contact:
+ Collaboration diagram for fairport::contact:

List of all members.

Public Member Functions

 contact (const node &n)
 Construct a contact object.
std::wstring get_full_name () const
 Get the full name of this contact.
std::wstring get_company () const
 Get the company of this contact.
bool has_company () const
 Check to see if this contact has a company associated with it.
std::wstring get_job_title () const
 Get the job title of this contact.
bool has_job_title () const
 Check to see if this contact has a job title associated with it.
std::wstring get_email_address () const
 Get the email address of this contact.
bool has_email_address () const
 Check to see if this contact has an email address associated with it.
std::wstring get_email_address2 () const
 Get the second email address of this contact.
bool has_email_address2 () const
 Check to see if this contact has a second email address associated with it.
std::wstring get_email_address3 () const
 Get the third email address of this contact.
bool has_email_address3 () const
 Check to see if this contact has a third email address associated with it.
std::wstring get_business_phone () const
 Get the business phone number of this contact.
bool has_business_phone () const
 Check to see if this contact has a business phone number associated with it.
std::wstring get_home_phone () const
 Get the home phone number of this contact.
bool has_home_phone () const
 Check to see if this contact has a home phone number associated with it.
std::wstring get_primary_phone () const
 Get the primary phone number of this contact.
bool has_primary_phone () const
 Check to see if this contact has a primary phone number associated with it.
std::wstring get_mobile_phone () const
 Get the mobile phone number of this contact.
bool has_mobile_phone () const
 Check to see if this contact has a mobile phone number associated with it.
std::wstring get_home_address () const
 Get the home address of this contact.
bool has_home_address () const
 Check to see if this contact has a home address associated with it.
std::wstring get_business_address () const
 Get the business address of this contact.
bool has_business_address () const
 Check to see if this contact has a business address associated with it.
attachmentget_contact_photo_attachment ()
 Get the photo of this contact.
const attachmentget_contact_photo_attachment () const
std::vector< byteget_contact_photo_bytes () const
 Get the photo of this contact.
hnid_stream_device open_contact_photo_stream ()
 Get the photo of this contact.
bool has_contact_photo () const
 Check to see if this contact has a contact photo associated with it.

Detailed Description

Encapsulates a contact.

A contact object is a higher level abstraction of a message, offering propreties specific to Outlook contacts.

See also:
[MS-OXOCNTC]

Definition at line 36 of file contact.h.


Constructor & Destructor Documentation

fairport::contact::contact ( const node n) [inline, explicit]

Construct a contact object.

Parameters:
[in]nThe node to construct this contact object on top of

Definition at line 41 of file contact.h.


Member Function Documentation

std::wstring fairport::contact::get_business_address ( ) const [inline]

Get the business address of this contact.

See also:
[MS-OXOCNTC] 2.2.1.3.8
Returns:
The business address of this contact

Definition at line 154 of file contact.h.

std::wstring fairport::contact::get_business_phone ( ) const [inline]

Get the business phone number of this contact.

See also:
[MS-OXOCNTC] 2.2.1.4.3
Returns:
The business phone number of this contact

Definition at line 104 of file contact.h.

std::wstring fairport::contact::get_company ( ) const [inline]

Get the company of this contact.

See also:
[MS-OXOCNTC] 2.2.1.6.2
Returns:
The company of this contact

Definition at line 54 of file contact.h.

attachment& fairport::contact::get_contact_photo_attachment ( ) [inline]

Get the photo of this contact.

See also:
[MS-OXOCNTC] 2.2.1.8.3
Returns:
The photo of this contact, as an attachment

Definition at line 164 of file contact.h.

const fairport::attachment & fairport::contact::get_contact_photo_attachment ( ) const [inline]

Get the photo of this contact.

See also:
[MS-OXOCNTC] 2.2.1.8.3
Returns:
The photo of this contact, as an attachment

Definition at line 203 of file contact.h.

std::vector<byte> fairport::contact::get_contact_photo_bytes ( ) const [inline]

Get the photo of this contact.

See also:
[MS-OXOCNTC] 2.2.1.8.3
Returns:
The raw bytes of the photo of this contact

Definition at line 171 of file contact.h.

std::wstring fairport::contact::get_email_address ( ) const [inline]

Get the email address of this contact.

See also:
[MS-OXOCNTC] 2.2.1.2.3
Returns:
The email address of this contact

Definition at line 74 of file contact.h.

std::wstring fairport::contact::get_email_address2 ( ) const [inline]

Get the second email address of this contact.

See also:
[MS-OXOCNTC] 2.2.1.2.3
Returns:
The second email address of this contact

Definition at line 84 of file contact.h.

std::wstring fairport::contact::get_email_address3 ( ) const [inline]

Get the third email address of this contact.

See also:
[MS-OXOCNTC] 2.2.1.2.3
Returns:
The third email address of this contact

Definition at line 94 of file contact.h.

std::wstring fairport::contact::get_full_name ( ) const [inline]

Get the full name of this contact.

See also:
[MS-OXOCNTC] 2.2.1.1.8
Returns:
The full name of this contact

Definition at line 48 of file contact.h.

std::wstring fairport::contact::get_home_address ( ) const [inline]

Get the home address of this contact.

See also:
[MS-OXOCNTC] 2.2.1.3.8
Returns:
The home address of this contact

Definition at line 144 of file contact.h.

std::wstring fairport::contact::get_home_phone ( ) const [inline]

Get the home phone number of this contact.

See also:
[MS-OXOCNTC] 2.2.1.4.4
Returns:
The home phone number of this contact

Definition at line 114 of file contact.h.

std::wstring fairport::contact::get_job_title ( ) const [inline]

Get the job title of this contact.

See also:
[MS-OXOCNTC] 2.2.1.6.1
Returns:
The job title of this contact

Definition at line 64 of file contact.h.

std::wstring fairport::contact::get_mobile_phone ( ) const [inline]

Get the mobile phone number of this contact.

See also:
[MS-OXOCNTC] 2.2.1.4.7
Returns:
The mobile phone number of this contact

Definition at line 134 of file contact.h.

std::wstring fairport::contact::get_primary_phone ( ) const [inline]

Get the primary phone number of this contact.

See also:
[MS-OXOCNTC] 2.2.1.4.5
Returns:
The primary phone number of this contact

Definition at line 124 of file contact.h.

bool fairport::contact::has_business_address ( ) const [inline]

Check to see if this contact has a business address associated with it.

Returns:
true if this contact has a business address associated with it

Definition at line 158 of file contact.h.

bool fairport::contact::has_business_phone ( ) const [inline]

Check to see if this contact has a business phone number associated with it.

Returns:
true if this contact has a business phone number associated with it

Definition at line 108 of file contact.h.

bool fairport::contact::has_company ( ) const [inline]

Check to see if this contact has a company associated with it.

Returns:
true if this contact has a company associated with it

Definition at line 58 of file contact.h.

bool fairport::contact::has_contact_photo ( ) const [inline]

Check to see if this contact has a contact photo associated with it.

See also:
[MS-OXOCNTC] 2.2.1.8.1
Returns:
true if this contact has a contact photo associated with it

Definition at line 181 of file contact.h.

bool fairport::contact::has_email_address ( ) const [inline]

Check to see if this contact has an email address associated with it.

Returns:
true if this contact has an email address associated with it

Definition at line 78 of file contact.h.

bool fairport::contact::has_email_address2 ( ) const [inline]

Check to see if this contact has a second email address associated with it.

Returns:
true if this contact has a second email address associated with it

Definition at line 88 of file contact.h.

bool fairport::contact::has_email_address3 ( ) const [inline]

Check to see if this contact has a third email address associated with it.

Returns:
true if this contact has a third email address associated with it

Definition at line 98 of file contact.h.

bool fairport::contact::has_home_address ( ) const [inline]

Check to see if this contact has a home address associated with it.

Returns:
true if this contact has a home address associated with it

Definition at line 148 of file contact.h.

bool fairport::contact::has_home_phone ( ) const [inline]

Check to see if this contact has a home phone number associated with it.

Returns:
true if this contact has a home phone number associated with it

Definition at line 118 of file contact.h.

bool fairport::contact::has_job_title ( ) const [inline]

Check to see if this contact has a job title associated with it.

Returns:
true if this contact has a job title associated with it

Definition at line 68 of file contact.h.

bool fairport::contact::has_mobile_phone ( ) const [inline]

Check to see if this contact has a mobile phone number associated with it.

Returns:
true if this contact has a mobile phone number associated with it

Definition at line 138 of file contact.h.

bool fairport::contact::has_primary_phone ( ) const [inline]

Check to see if this contact has a primary phone number associated with it.

Returns:
true if this contact has a primary phone number associated with it

Definition at line 128 of file contact.h.

hnid_stream_device fairport::contact::open_contact_photo_stream ( ) [inline]

Get the photo of this contact.

See also:
[MS-OXOCNTC] 2.2.1.8.3
Returns:
A stream of the photo

Definition at line 176 of file contact.h.


The documentation for this class was generated from the following file: