OpenAB  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CalDAVHelper::CalendarInfo Class Reference

Class describing calendar. More...

#include <CalDAVHelper.hpp>

Public Member Functions

 CalendarInfo ()
 
 CalendarInfo (const std::string &url, const std::string &name, const std::vector< CalendarItemTypes > &types)
 
 ~CalendarInfo ()
 
std::string getUrl () const
 Returns URL of calendar. More...
 
std::string getDisplayName () const
 Returns display name of calendar. More...
 
bool supportsType (CalendarItemTypes type) const
 Checks if calendar support given type of items. More...
 
std::vector< CalendarItemTypesgetSupportedCalendarTypes () const
 Returns list of all supported types. More...
 

Detailed Description

Class describing calendar.

Constructor & Destructor Documentation

CalDAVHelper::CalendarInfo::CalendarInfo ( )
CalDAVHelper::CalendarInfo::CalendarInfo ( const std::string &  url,
const std::string &  name,
const std::vector< CalendarItemTypes > &  types 
)
CalDAVHelper::CalendarInfo::~CalendarInfo ( )

Member Function Documentation

std::string CalDAVHelper::CalendarInfo::getDisplayName ( ) const

Returns display name of calendar.

Returns
display name of calendar.
std::vector< CalDAVHelper::CalendarItemTypes > CalDAVHelper::CalendarInfo::getSupportedCalendarTypes ( ) const

Returns list of all supported types.

Returns
list of all supported types.
std::string CalDAVHelper::CalendarInfo::getUrl ( ) const

Returns URL of calendar.

Returns
URL of calendar
bool CalDAVHelper::CalendarInfo::supportsType ( CalendarItemTypes  type) const

Checks if calendar support given type of items.

Returns
true, if calendar supports given type, false otherwise.

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