Fairport
v1.0.38
|
Encapsulates a contact. More...
#include <contact.h>
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. | |
attachment & | get_contact_photo_attachment () |
Get the photo of this contact. | |
const attachment & | get_contact_photo_attachment () const |
std::vector< byte > | get_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. |
Encapsulates a contact.
A contact object is a higher level abstraction of a message, offering propreties specific to Outlook contacts.
fairport::contact::contact | ( | const node & | n | ) | [inline, explicit] |
std::wstring fairport::contact::get_business_address | ( | ) | const [inline] |
std::wstring fairport::contact::get_business_phone | ( | ) | const [inline] |
std::wstring fairport::contact::get_company | ( | ) | const [inline] |
attachment& fairport::contact::get_contact_photo_attachment | ( | ) | [inline] |
const fairport::attachment & fairport::contact::get_contact_photo_attachment | ( | ) | const [inline] |
std::vector<byte> fairport::contact::get_contact_photo_bytes | ( | ) | const [inline] |
std::wstring fairport::contact::get_email_address | ( | ) | const [inline] |
std::wstring fairport::contact::get_email_address2 | ( | ) | const [inline] |
std::wstring fairport::contact::get_email_address3 | ( | ) | const [inline] |
std::wstring fairport::contact::get_full_name | ( | ) | const [inline] |
std::wstring fairport::contact::get_home_address | ( | ) | const [inline] |
std::wstring fairport::contact::get_home_phone | ( | ) | const [inline] |
std::wstring fairport::contact::get_job_title | ( | ) | const [inline] |
std::wstring fairport::contact::get_mobile_phone | ( | ) | const [inline] |
std::wstring fairport::contact::get_primary_phone | ( | ) | const [inline] |
bool fairport::contact::has_business_address | ( | ) | const [inline] |
bool fairport::contact::has_business_phone | ( | ) | const [inline] |
bool fairport::contact::has_company | ( | ) | const [inline] |
bool fairport::contact::has_contact_photo | ( | ) | const [inline] |
bool fairport::contact::has_email_address | ( | ) | const [inline] |
bool fairport::contact::has_email_address2 | ( | ) | const [inline] |
bool fairport::contact::has_email_address3 | ( | ) | const [inline] |
bool fairport::contact::has_home_address | ( | ) | const [inline] |
bool fairport::contact::has_home_phone | ( | ) | const [inline] |
bool fairport::contact::has_job_title | ( | ) | const [inline] |
bool fairport::contact::has_mobile_phone | ( | ) | const [inline] |
bool fairport::contact::has_primary_phone | ( | ) | const [inline] |
hnid_stream_device fairport::contact::open_contact_photo_stream | ( | ) | [inline] |