20#ifndef ICAL_VCOMPONENT_CXX_H
21#define ICAL_VCOMPONENT_CXX_H
23#include "libical_ical_export.h"
57 explicit VComponent(
const icalcomponent_kind &kind);
64 void new_from_string(
const std::string &str);
71 std::string as_ical_string();
73 icalcomponent_kind isa();
74 int isa_component(
void *component);
79 int count_properties(
const icalproperty_kind &kind);
83 ICalProperty *get_first_property(
const icalproperty_kind &kind);
84 ICalProperty *get_next_property(
const icalproperty_kind &kind);
97 int count_components(
const icalcomponent_kind &kind);
109 VComponent *get_first_component(
const icalcomponent_kind &kind);
110 VComponent *get_next_component(
const icalcomponent_kind &kind);
114 icalcompiter end_component(
const icalcomponent_kind &kind);
130 static std::string kind_to_string(
const icalcomponent_kind &kind);
156 icalproperty_method get_method()
const;
157 void set_method(
const icalproperty_method &method);
162 std::string get_summary()
const;
163 void set_summary(
const std::string &v);
165 std::string get_location()
const;
166 void set_location(
const std::string &v);
168 std::string get_description()
const;
169 void set_description(
const std::string &v);
171 std::string get_comment()
const;
172 void set_comment(
const std::string &v);
174 std::string get_uid()
const;
175 void set_uid(
const std::string &v);
177 std::string get_relcalid()
const;
178 void set_relcalid(
const std::string &v);
183 int get_sequence()
const;
184 void set_sequence(
const int &v);
186 int get_status()
const;
187 void set_status(
const enum icalproperty_status &v);
210 bool update(
VComponent &,
bool removeMissing);
218 char *quote_ical_string(
char *str);
233 explicit VCalendar(
const std::string &str);
245 explicit VEvent(
const std::string &str);
257 explicit VToDo(
const std::string &str);
269 explicit VAgenda(
const std::string &str);
281 explicit VQuery(
const std::string &str);
293 explicit VJournal(
const std::string &str);
305 explicit VAlarm(
const std::string &str);
324 explicit VFreeBusy(
const std::string &str);
336 explicit VTimezone(
const std::string &str);
348 explicit XStandard(
const std::string &str);
360 explicit XDaylight(
const std::string &str);
Definition icptrholder_cxx.h:48
Definition icalproperty_cxx.h:41
Definition vcomponent_cxx.h:261
Definition vcomponent_cxx.h:297
icalrequeststatus getTriggerTime(VComponent &c, struct icaltriggertype *tr)
Definition vcomponent_cxx.h:225
A class wrapping the libical icalcomponent functions.
Definition vcomponent_cxx.h:48
void convert_errors()
Convert some X-LIC-ERROR properties into RETURN-STATUS properties.
VComponent * get_current_component()
Iterate through components.
int count_errors()
Working with embedded error properties.
static icalcomponent_kind string_to_kind(const std::string &str)
Kind conversion routines.
void add_property(ICalProperty *property)
Working with properties.
void strip_errors()
Remove all X-LIC-ERROR properties.
bool remove(VComponent &, bool ignoreValue)
Note: the VComponent kind have to be the same.
icalcompiter begin_component(const icalcomponent_kind &kind)
Using external iterators.
VComponent * get_first_real_component()
Definition vcomponent_cxx.h:237
Definition vcomponent_cxx.h:316
Definition vcomponent_cxx.h:285
Definition vcomponent_cxx.h:273
Definition vcomponent_cxx.h:328
Definition vcomponent_cxx.h:249
Definition vcomponent_cxx.h:352
Definition vcomponent_cxx.h:340
Error handling for libical.
C++ template classes for managing C++ pointers returned by VComponent::get_..._component,...
Definition icalcomponent.h:36
Definition icalcomponent.c:36
A struct representing a duration.
Definition icalduration.h:37
Definition icaltime.h:105
Definition icaltypes.h:40