19using namespace LibICal;
21ICalSpanList::ICalSpanList()
52ICalSpanList::ICalSpanList(icalcomponent *comp)
124 std::vector<int> event_vec;
128 if (matrix == NULL) {
132 while (matrix[i] != -1) {
133 event_vec.push_back(matrix[i]);
VComponent * get_vfreebusy(const char *organizer, const char *attendee)
Returns a VFREEBUSY component for the object.
std::vector< int > as_vector(int delta_t)
Returns a summary of events over delta_t.
A class wrapping the libical icalcomponent functions.
Error handling for libical.
#define icalerrno
Access the current icalerrno value.
void icalspanlist_dump(icalspanlist *sl)
icalspanlist * icalspanlist_from_vfreebusy(icalcomponent *comp)
int * icalspanlist_as_freebusy_matrix(icalspanlist *spanlist, int delta_t)
void icalspanlist_free(icalspanlist *sl)
icalspanlist * icalspanlist_new(icalset *set, struct icaltimetype start, struct icaltimetype end)
icalcomponent * icalspanlist_as_vfreebusy(icalspanlist *sl, const char *organizer, const char *attendee)
C++ class wrapping the icalspanlist data structure.
C++ classes for the icalcomponent wrapper (VToDo VEvent, etc..).