Fairport  v1.0.38
fairport::recipient Class Reference

A recipient of a message. More...

#include <message.h>

List of all members.

Public Member Functions

std::wstring get_name () const
 Get the display name of this recipient.
recipient_type get_type () const
 Get the type of this recipient.
std::wstring get_address_type () const
 Get the address type of the recipient.
std::wstring get_email_address () const
 Get the email address of the recipient.
bool has_email_address () const
 Checks to see if this recipient has an email address.
std::wstring get_account_name () const
 Get the name of the recipients account.
bool has_account_name () const
 Checks to see if this recipient has an account name.
const_table_rowget_property_row ()
 Get the property row underying this recipient object.
const const_table_rowget_property_row () const

Friends

struct recipient_transform

Detailed Description

A recipient of a message.

A friendly wrapper around a recipient table row.

Definition at line 153 of file message.h.


Member Function Documentation

std::wstring fairport::recipient::get_account_name ( ) const [inline]

Get the name of the recipients account.

See also:
[MS-OXOABK] 2.2.3.20
Returns:
The account name

Definition at line 184 of file message.h.

std::wstring fairport::recipient::get_address_type ( ) const [inline]

Get the address type of the recipient.

See also:
[MS-OXOABK] 2.2.3.13
Returns:
The address type

Definition at line 170 of file message.h.

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

Get the email address of the recipient.

See also:
[MS-OXOABK] 2.2.3.21
Returns:
The email address

Definition at line 175 of file message.h.

std::wstring fairport::recipient::get_name ( ) const [inline]

Get the display name of this recipient.

See also:
[MS-OXOABK] 2.2.3.1
Returns:
The recipient name

Definition at line 160 of file message.h.

const_table_row& fairport::recipient::get_property_row ( ) [inline]

Get the property row underying this recipient object.

Returns:
The property row

Definition at line 194 of file message.h.

const const_table_row& fairport::recipient::get_property_row ( ) const [inline]

Get the property row underying this recipient object.

Returns:
The property row

Definition at line 197 of file message.h.

recipient_type fairport::recipient::get_type ( ) const [inline]

Get the type of this recipient.

See also:
[MS-OXOMSG] 2.2.3.1
Returns:
The recipient type

Definition at line 165 of file message.h.

bool fairport::recipient::has_account_name ( ) const [inline]

Checks to see if this recipient has an account name.

Returns:
true if get_account_name() doesn't throw

Definition at line 188 of file message.h.

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

Checks to see if this recipient has an email address.

Returns:
true if get_email_address() doesn't throw

Definition at line 179 of file message.h.


Friends And Related Function Documentation

friend struct recipient_transform [friend]

Definition at line 202 of file message.h.


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