Libical API Documentation 3.1
icalspanlist_cxx.h
Go to the documentation of this file.
1
11#ifndef ICALSPANLIST_CXX_H
12#define ICALSPANLIST_CXX_H
13
14#include "libical_icalss_export.h"
15
16extern "C"
17{
18#include "icalcomponent.h"
19#include "icalspanlist.h"
20#include "icaltime.h"
21}
22
23#include <vector>
24
25namespace LibICal
26{
27
28class VComponent;
29
37class LIBICAL_ICALSS_EXPORT ICalSpanList
38{
39public:
41 ICalSpanList(const ICalSpanList &v);
42
45
47 explicit ICalSpanList(icalcomponent *comp);
48
50 explicit ICalSpanList(VComponent &comp);
51
54
56 VComponent *get_vfreebusy(const char *organizer, const char *attendee);
57
58 ICalSpanList &operator=(const ICalSpanList &);
59
61 operator icalspanlist *()
62 {
63 return data;
64 }
65
67 std::vector < int >as_vector(int delta_t);
68
70 void dump();
71
72private:
73 icalspanlist *data;
74};
75
76} // namespace LibICal;
77
78#endif
Definition: icalspanlist_cxx.h:38
ICalSpanList(icalset *set, icaltimetype start, icaltimetype end)
ICalSpanList(icalcomponent *comp)
ICalSpanList(VComponent &comp)
VComponent * get_vfreebusy(const char *organizer, const char *attendee)
std::vector< int > as_vector(int delta_t)
A class wrapping the libical icalcomponent functions.
Definition: vcomponent_cxx.h:40
Code that supports collections of free/busy spans of time.
struct icaltimetype is a pseudo-object that abstracts time handling.
Definition: icalcomponent.c:28
Definition: icalset.h:52
Definition: icalspanlist.c:21
Definition: icaltime.h:97