ews-cpp  0.9
Public Member Functions | Static Public Member Functions | List of all members
ews::attendee Class Referencefinal

An attendee of a meeting or a meeting room. More...

#include <ews.hpp>

Public Member Functions

 attendee (mailbox address, response_type type, date_time last_response_time)
 
 attendee (mailbox address)
 
const date_timeget_last_response_time () const EWS_NOEXCEPT
 Returns the date and time of the latest response that was received.
 
const mailboxget_mailbox () const EWS_NOEXCEPT
 Returns this attendee's email address.
 
const date_timeget_proposed_end () const EWS_NOEXCEPT
 Returns the date and time that was proposed as the end by the attendee.
 
const date_timeget_proposed_start () const EWS_NOEXCEPT
 Returns the date and time that was proposed as the start by the attendee.
 
response_type get_response_type () const EWS_NOEXCEPT
 Returns this attendee's response. More...
 
void set_last_response_time (const date_time &time)
 Sets the date and time fo the latest response that was received.
 
void set_proposed_end (const date_time &end)
 Sets the end date and time that was proposed by the attendee.
 
void set_proposed_start (const date_time &start)
 Sets the start date and time that was proposed by the attendee.
 
void set_response_type (response_type type)
 Sets the atteendee's response.
 
std::string to_xml () const
 Returns the XML serialized version of this attendee instance.
 
rapidxml::xml_node & to_xml_element (rapidxml::xml_node<> &parent) const
 Creates a new <Attendee> XML element and appends it to given parent node. More...
 

Static Public Member Functions

static attendee from_xml_element (const rapidxml::xml_node<> &elem)
 Makes a attendee instance from an <Attendee> XML element.
 

Detailed Description

An attendee of a meeting or a meeting room.

An attendee is just a mailbox for the most part. The other two properties, ResponseType and LastResponseTime, are read-only properties that usually get populated by the Exchange server and can be used to track attendee responses.

Member Function Documentation

response_type ews::attendee::get_response_type ( ) const
inline

Returns this attendee's response.

This property is only relevant to a meeting organizer's calendar item.

rapidxml::xml_node& ews::attendee::to_xml_element ( rapidxml::xml_node<> &  parent) const
inline

Creates a new <Attendee> XML element and appends it to given parent node.

Returns a reference to the newly created element.


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