12#ifndef ICALPROPERTY_CXX_H
13#define ICALPROPERTY_CXX_H
15#include "libical_ical_export.h"
45 operator icalproperty *()
54 std::string as_ical_string();
55 icalproperty_kind isa();
56 int isa_property(
void *property);
60 void set_parameter_from_string(
const std::string &name,
const std::string &val);
61 std::string get_parameter_as_string(
const std::string &name);
62 void remove_parameter_by_kind(
const icalparameter_kind &kind);
63 int count_parameters();
67 ICalParameter *get_next_parameter(
const icalparameter_kind &kind);
71 void set_value_from_string(
const std::string &val,
const std::string &kind);
74 std::string get_value_as_string();
84 static void set_x_name(
ICalProperty &prop,
const std::string &name);
87 static icalvalue_kind value_to_value_kind(
const icalparameter_value &val);
90 static icalvalue_kind kind_to_value_kind(
const icalproperty_kind &kind);
91 static icalproperty_kind value_kind_to_kind(
const icalvalue_kind &kind);
92 static std::string kind_to_string(
const icalproperty_kind &kind);
93 static icalproperty_kind string_to_kind(
const std::string &str);
95 static icalproperty_method string_to_method(
const std::string &str);
96 static std::string method_to_string(
const icalproperty_method &method);
98 static std::string enum_to_string(
const int &e);
99 static int kind_and_string_to_enum(
const icalproperty_kind &kind,
const std::string &str);
101 static std::string status_to_string(
const icalproperty_status &status);
102 static icalproperty_status string_to_status(
const std::string &str);
104 static int enum_belongs_to_property(
const icalproperty_kind &kind,
const int &e);
108 void set_action(
const enum icalproperty_action &val);
109 enum icalproperty_action get_action();
116 void set_attendee(
const std::string &val);
117 std::string get_attendee()
const;
120 void set_calscale(
const std::string &val);
121 std::string get_calscale()
const;
124 void set_categories(
const std::string &val);
125 std::string get_categories()
const;
128 void set_class(
const enum icalproperty_class &val);
129 enum icalproperty_class get_class()
const;
132 void set_comment(
const std::string &val);
133 std::string get_comment()
const;
140 void set_contact(
const std::string &val);
141 std::string get_contact()
const;
148 void set_description(
const std::string &val);
149 std::string get_description()
const;
176 void set_expand(
const int &val);
177 int get_expand()
const;
192 void set_grant(
const std::string &val);
193 std::string get_grant()
const;
200 void set_location(
const std::string &val);
201 std::string get_location()
const;
204 void set_maxresults(
const int &val);
205 int get_maxresults()
const;
208 void set_maxresultsize(
const int &val);
209 int get_maxresultsize()
const;
212 void set_method(
const enum icalproperty_method &val);
213 enum icalproperty_method get_method()
const;
216 void set_owner(
const std::string &val);
217 std::string get_owner()
const;
220 void set_organizer(
const std::string &val);
221 std::string get_organizer()
const;
224 void set_percentcomplete(
const int &val);
225 int get_percentcomplete()
const;
228 void set_priority(
const int &val);
229 int get_priority()
const;
232 void set_prodid(
const std::string &val);
233 std::string get_prodid()
const;
236 void set_query(
const std::string &val);
237 std::string get_query()
const;
240 void set_queryname(
const std::string &val);
241 std::string get_queryname()
const;
252 void set_relatedto(
const std::string &val);
253 std::string get_relatedto()
const;
256 void set_relcalid(
const std::string &val);
257 std::string get_relcalid()
const;
260 void set_repeat(
const int &val);
261 int get_repeat()
const;
264 void set_requeststatus(
const std::string &val);
265 std::string get_requeststatus()
const;
268 void set_resources(
const std::string &val);
269 std::string get_resources()
const;
276 void set_scope(
const std::string &val);
277 std::string get_scope()
const;
280 void set_sequence(
const int &val);
281 int get_sequence()
const;
284 void set_status(
const enum icalproperty_status &val);
285 enum icalproperty_status get_status()
const;
288 void set_summary(
const std::string &val);
289 std::string get_summary()
const;
292 void set_target(
const std::string &val);
293 std::string get_target()
const;
296 void set_transp(
const enum icalproperty_transp &val);
297 enum icalproperty_transp get_transp()
const;
304 void set_tzid(
const std::string &val);
305 std::string get_tzid()
const;
308 void set_tzname(
const std::string &val);
309 std::string get_tzname()
const;
312 void set_tzoffsetfrom(
const int &val);
313 int get_tzoffsetfrom()
const;
316 void set_tzoffsetto(
const int &val);
317 int get_tzoffsetto()
const;
320 void set_tzurl(
const std::string &val);
321 std::string get_tzurl()
const;
324 void set_uid(
const std::string &val);
325 std::string get_uid()
const;
328 void set_url(
const std::string &val);
329 std::string get_url()
const;
332 void set_version(
const std::string &val);
333 std::string get_version()
const;
336 void set_x(
const std::string &val);
337 std::string get_x()
const;
340 void set_xlicclustercount(
const std::string &val);
341 std::string get_xlicclustercount()
const;
344 void set_xlicerror(
const std::string &val);
345 std::string get_xlicerror()
const;
348 void set_xlicmimecharset(
const std::string &val);
349 std::string get_xlicmimecharset()
const;
352 void set_xlicmimecid(
const std::string &val);
353 std::string get_xlicmimecid()
const;
356 void set_xlicmimecontenttype(
const std::string &val);
357 std::string get_xlicmimecontenttype()
const;
360 void set_xlicmimeencoding(
const std::string &val);
361 std::string get_xlicmimeencoding()
const;
364 void set_xlicmimefilename(
const std::string &val);
365 std::string get_xlicmimefilename()
const;
368 void set_xlicmimeoptinfo(
const std::string &val);
369 std::string get_xlicmimeoptinfo()
const;
Definition: icptrholder_cxx.h:40
Definition: icalparameter_cxx.h:30
Definition: icalproperty_cxx.h:33
ICalParameter * get_first_parameter(const icalparameter_kind &kind)
std::string get_name() const
void set_value(const ICalValue &val)
Definition: icalvalue_cxx.h:28
Error handling for libical.
C++ template classes for managing C++ pointers returned by VComponent::get_..._component,...
Definition: icalattachimpl.h:18
Definition: icaltypes.h:20
A struct representing a duration.
Definition: icalduration.h:28
Definition: icaltypes.h:27
Struct to represent a period in time.
Definition: icalperiod.h:29
Definition: icalrecur.h:144
Definition: icaltime.h:97
Definition: icaltypes.h:33