Libical API Documentation 3.0

icalspanlist_cxx.h
Go to the documentation of this file.
1
20#ifndef ICALSPANLIST_CXX_H
21#define ICALSPANLIST_CXX_H
22
23#include "libical_icalss_export.h"
24
25 extern "C"
26{
27#include "icalcomponent.h"
28#include "icalspanlist.h"
29#include "icaltime.h"
30}
31
32#include <vector>
33
34 namespace LibICal
35{
36
37 class VComponent;
38
46 class LIBICAL_ICALSS_EXPORT ICalSpanList
47{
48 public:
49 ICalSpanList();
50 ICalSpanList(const ICalSpanList &v);
51
53 ICalSpanList(icalset *set, icaltimetype start, icaltimetype end);
54
56 explicit ICalSpanList(icalcomponent *comp);
57
59 explicit ICalSpanList(VComponent &comp);
60
62 ~ICalSpanList();
63
65 VComponent *get_vfreebusy(const char *organizer, const char *attendee);
66
67 ICalSpanList &operator=(const ICalSpanList &);
68
70 operator icalspanlist *()
71 {
72 return data;
73 }
74
76 std::vector < int >as_vector(int delta_t);
77
79 void dump();
80
81 private:
82 icalspanlist *data;
83};
84
85} // namespace LibICal;
86
87#endif
LibICal::ICalSpanList
Definition: icalspanlist_cxx.h:47
LibICal::ICalSpanList::ICalSpanList
ICalSpanList(icalset *set, icaltimetype start, icaltimetype end)
LibICal::ICalSpanList::ICalSpanList
ICalSpanList(icalcomponent *comp)
LibICal::ICalSpanList::ICalSpanList
ICalSpanList(VComponent &comp)
LibICal::ICalSpanList::get_vfreebusy
VComponent * get_vfreebusy(const char *organizer, const char *attendee)
LibICal::ICalSpanList::as_vector
std::vector< int > as_vector(int delta_t)
LibICal::ICalSpanList::~ICalSpanList
~ICalSpanList()
LibICal::ICalSpanList::dump
void dump()
LibICal::VComponent
A class wrapping the libical icalcomponent functions.
Definition: vcomponent_cxx.h:48
icalcomponent.h
icalspanlist.h
Code that supports collections of free/busy spans of time.
icaltime.h
struct icaltimetype is a pseudo-object that abstracts time handling.
icalcomponent_impl
Definition: icalcomponent.c:36
icalset_impl
Definition: icalset.h:61
icalspanlist_impl
Definition: icalspanlist.c:29
icaltimetype
Definition: icaltime.h:105