Fairport  v1.0.38
fairport::task Class Reference

Encapsulates a task. More...

#include <task.h>

+ Inheritance diagram for fairport::task:
+ Collaboration diagram for fairport::task:

List of all members.

Public Member Functions

 task (const node &n)
 Construct a task object.
std::wstring get_name () const
 Get the name of this task.
bool has_subject () const
 Check to see if a subject is set on this message.
bool is_complete () const
 Query the completion status of this taks.
boost::posix_time::ptime get_start_date () const
 Get the start date of this task.
bool has_start_date () const
 Check to see if this task has a start date associated with it.
boost::posix_time::ptime get_due_date () const
 Get the due date of this task.
bool has_due_date () const
 Check to see if this task has a due date associated with it.

Detailed Description

Encapsulates a task.

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

See also:
[MS-OXOTASK]

Definition at line 36 of file task.h.


Constructor & Destructor Documentation

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

Construct a task object.

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

Definition at line 41 of file task.h.


Member Function Documentation

boost::posix_time::ptime fairport::task::get_due_date ( ) const [inline]

Get the due date of this task.

See also:
[MS-OXOTASK] 2.2.2.2.5
Returns:
The due date of this task

Definition at line 72 of file task.h.

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

Get the name of this task.

See also:
[MS-OXCMSG] 2.2.1.46
Returns:
The message subject

Definition at line 96 of file task.h.

boost::posix_time::ptime fairport::task::get_start_date ( ) const [inline]

Get the start date of this task.

See also:
[MS-OXOTASK] 2.2.2.2.4
Returns:
The start date of this task

Definition at line 63 of file task.h.

bool fairport::task::has_due_date ( ) const [inline]

Check to see if this task has a due date associated with it.

Returns:
true if this task has a due date associated with it

Definition at line 76 of file task.h.

bool fairport::task::has_start_date ( ) const [inline]

Check to see if this task has a start date associated with it.

Returns:
true if this task has a start date associated with it

Definition at line 67 of file task.h.

bool fairport::task::has_subject ( ) const [inline]

Check to see if a subject is set on this message.

Returns:
true if a subject is set on this message

Definition at line 51 of file task.h.

bool fairport::task::is_complete ( ) const [inline]

Query the completion status of this taks.

See also:
[MS-OXOTASK] 2.2.2.2.20
Returns:
true if this task is complete

Definition at line 57 of file task.h.


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