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 
54 
56  explicit ICalSpanList(icalcomponent *comp);
57 
59  explicit ICalSpanList(VComponent &comp);
60 
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
Definition: icalspanlist_cxx.h:47
ICalSpanList(icalset *set, icaltimetype start, icaltimetype end)
ICalSpanList(icalcomponent *comp)
ICalSpanList(VComponent &comp)
std::vector< int > as_vector(int delta_t)
VComponent * get_vfreebusy(const char *organizer, const char *attendee)
A class wrapping the libical icalcomponent functions.
Definition: vcomponent_cxx.h:48
Code that supports collections of free/busy spans of time.
struct icaltimetype is a pseudo-object that abstracts time handling.
Definition: icalcomponent.c:36
Definition: icalset.h:61
Definition: icalspanlist.c:29
Definition: icaltime.h:105