37class LIBICAL_ICAL_EXPORT VComponent
41 VComponent(
const VComponent &);
42 VComponent &operator=(
const VComponent &);
43 virtual ~VComponent();
45 explicit VComponent(icalcomponent *v);
46 explicit VComponent(
const std::string &str);
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);
84 void add_component(VComponent *child);
85 void remove_component(VComponent *child);
104 static VComponent *next(icalcompiter *i);
105 static VComponent *prev(icalcompiter *i);
106 static VComponent *current(icalcompiter *i);
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);
180 void set_status(
const enum icalproperty_status &v);
192 virtual struct icaltime_span
get_span();
200 bool remove(VComponent &,
bool ignoreValue);
201 bool update(VComponent &,
bool removeMissing);
202 bool add(VComponent &);