Libical API Documentation 4.0
Loading...
Searching...
No Matches
icalspanlist_cxx.h
Go to the documentation of this file.
1
10
11#ifndef ICALSPANLIST_CXX_H
12#define ICALSPANLIST_CXX_H
13
14#include "libical_icalss_export.h"
15
16extern "C" {
17#include "icalcomponent.h"
18#include "icalspanlist.h"
19#include "icaltime.h"
20}
21
22#include <vector>
23
24namespace LibICal
25{
26
27class VComponent;
28
36class LIBICAL_ICALSS_EXPORT ICalSpanList
37{
38public:
39 ICalSpanList();
40 ICalSpanList(const ICalSpanList &v);
41
43 ICalSpanList(icalset *set, icaltimetype start, icaltimetype end);
44
46 explicit ICalSpanList(icalcomponent *comp);
47
49 explicit ICalSpanList(VComponent &comp);
50
53
55 VComponent *get_vfreebusy(const char *organizer, const char *attendee);
56
57 ICalSpanList &operator=(const ICalSpanList &);
58
60 operator icalspanlist *()
61 {
62 return data;
63 }
64
66 std::vector<int> as_vector(int delta_t);
67
69 void dump();
70
71private:
72 icalspanlist *data;
73};
74
75} // namespace LibICal;
76
77#endif
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:39
Code that supports collections of free/busy spans of time.
struct icaltimetype is a pseudo-object that abstracts time handling.
Definition icaltime.h:98