12 #ifndef ICAL_VCOMPONENT_CXX_H
13 #define ICAL_VCOMPONENT_CXX_H
15 #include "libical_ical_export.h"
49 operator icalcomponent *()
54 void new_from_string(
const std::string &str);
60 std::string as_ical_string();
63 bool isa_component(
const void *component);
68 int count_properties(
const icalproperty_kind &kind);
72 ICalProperty *get_first_property(
const icalproperty_kind &kind);
73 ICalProperty *get_next_property(
const icalproperty_kind &kind);
115 void convert_errors();
144 icalproperty_method get_method()
const;
145 void set_method(
const icalproperty_method &method);
150 std::string get_summary()
const;
151 void set_summary(
const std::string &v);
153 std::string get_location()
const;
154 void set_location(
const std::string &v);
156 std::string get_description()
const;
157 void set_description(
const std::string &v);
159 std::string get_comment()
const;
160 void set_comment(
const std::string &v);
162 std::string get_uid()
const;
163 void set_uid(
const std::string &v);
165 std::string get_relcalid()
const;
166 void set_relcalid(
const std::string &v);
171 int get_sequence()
const;
172 void set_sequence(
const int &v);
179 int get_status()
const;
180 void set_status(
const enum icalproperty_status &v);
192 virtual struct icaltime_span get_span();
201 bool update(VComponent &,
bool removeMissing);
202 bool add(VComponent &);
217 explicit VCalendar(
const std::string &str);
228 explicit VEvent(icalcomponent *v);
229 explicit VEvent(
const std::string &str);
240 explicit VToDo(icalcomponent *v);
241 explicit VToDo(
const std::string &str);
252 explicit VAgenda(icalcomponent *v);
253 explicit VAgenda(
const std::string &str);
264 explicit VQuery(icalcomponent *v);
265 explicit VQuery(
const std::string &str);
276 explicit VJournal(icalcomponent *v);
277 explicit VJournal(
const std::string &str);
288 explicit VAlarm(icalcomponent *v);
289 explicit VAlarm(
const std::string &str);
308 explicit VFreeBusy(
const std::string &str);
320 explicit VTimezone(
const std::string &str);
332 explicit XStandard(
const std::string &str);
344 explicit XDaylight(
const std::string &str);
C++ template classes for managing C++ pointers returned by VComponent::get_..._component, VComponent::get_..._property, ICalProperty::get_..._value.
Defines the data structure for iCalendar components.
A class wrapping the libical icalcomponent functions.