20#ifndef ICALPROPERTY_CXX_H
21#define ICALPROPERTY_CXX_H
23#include "libical_ical_export.h"
53 operator icalproperty *()
62 std::string as_ical_string();
63 icalproperty_kind isa();
64 int isa_property(
void *property);
68 void set_parameter_from_string(
const std::string &name,
const std::string &val);
69 std::string get_parameter_as_string(
const std::string &name);
70 void remove_parameter_by_kind(
const icalparameter_kind &kind);
71 int count_parameters();
75 ICalParameter *get_next_parameter(
const icalparameter_kind &kind);
79 void set_value_from_string(
const std::string &val,
const std::string &kind);
82 std::string get_value_as_string();
92 static void set_x_name(
ICalProperty &prop,
const std::string &name);
95 static icalvalue_kind value_to_value_kind(
const icalparameter_value &val);
98 static icalvalue_kind kind_to_value_kind(
const icalproperty_kind &kind);
99 static icalproperty_kind value_kind_to_kind(
const icalvalue_kind &kind);
100 static std::string kind_to_string(
const icalproperty_kind &kind);
101 static icalproperty_kind string_to_kind(
const std::string &str);
103 static icalproperty_method string_to_method(
const std::string &str);
104 static std::string method_to_string(
const icalproperty_method &method);
106 static std::string enum_to_string(
const int &e);
107 static int kind_and_string_to_enum(
const icalproperty_kind &kind,
const std::string &str);
109 static std::string status_to_string(
const icalproperty_status &status);
110 static icalproperty_status string_to_status(
const std::string &str);
112 static int enum_belongs_to_property(
const icalproperty_kind &kind,
const int &e);
116 void set_action(
const enum icalproperty_action &val);
117 enum icalproperty_action get_action();
124 void set_attendee(
const std::string &val);
125 std::string get_attendee()
const;
128 void set_calscale(
const std::string &val);
129 std::string get_calscale()
const;
132 void set_categories(
const std::string &val);
133 std::string get_categories()
const;
136 void set_class(
const enum icalproperty_class &val);
137 enum icalproperty_class get_class()
const;
140 void set_comment(
const std::string &val);
141 std::string get_comment()
const;
148 void set_contact(
const std::string &val);
149 std::string get_contact()
const;
156 void set_description(
const std::string &val);
157 std::string get_description()
const;
184 void set_expand(
const int &val);
185 int get_expand()
const;
200 void set_grant(
const std::string &val);
201 std::string get_grant()
const;
208 void set_location(
const std::string &val);
209 std::string get_location()
const;
212 void set_maxresults(
const int &val);
213 int get_maxresults()
const;
216 void set_maxresultsize(
const int &val);
217 int get_maxresultsize()
const;
220 void set_method(
const enum icalproperty_method &val);
221 enum icalproperty_method get_method()
const;
224 void set_owner(
const std::string &val);
225 std::string get_owner()
const;
228 void set_organizer(
const std::string &val);
229 std::string get_organizer()
const;
232 void set_percentcomplete(
const int &val);
233 int get_percentcomplete()
const;
236 void set_priority(
const int &val);
237 int get_priority()
const;
240 void set_prodid(
const std::string &val);
241 std::string get_prodid()
const;
244 void set_query(
const std::string &val);
245 std::string get_query()
const;
248 void set_queryname(
const std::string &val);
249 std::string get_queryname()
const;
260 void set_relatedto(
const std::string &val);
261 std::string get_relatedto()
const;
264 void set_relcalid(
const std::string &val);
265 std::string get_relcalid()
const;
268 void set_repeat(
const int &val);
269 int get_repeat()
const;
272 void set_requeststatus(
const std::string &val);
273 std::string get_requeststatus()
const;
276 void set_resources(
const std::string &val);
277 std::string get_resources()
const;
284 void set_scope(
const std::string &val);
285 std::string get_scope()
const;
288 void set_sequence(
const int &val);
289 int get_sequence()
const;
292 void set_status(
const enum icalproperty_status &val);
293 enum icalproperty_status get_status()
const;
296 void set_summary(
const std::string &val);
297 std::string get_summary()
const;
300 void set_target(
const std::string &val);
301 std::string get_target()
const;
304 void set_transp(
const enum icalproperty_transp &val);
305 enum icalproperty_transp get_transp()
const;
312 void set_tzid(
const std::string &val);
313 std::string get_tzid()
const;
316 void set_tzname(
const std::string &val);
317 std::string get_tzname()
const;
320 void set_tzoffsetfrom(
const int &val);
321 int get_tzoffsetfrom()
const;
324 void set_tzoffsetto(
const int &val);
325 int get_tzoffsetto()
const;
328 void set_tzurl(
const std::string &val);
329 std::string get_tzurl()
const;
332 void set_uid(
const std::string &val);
333 std::string get_uid()
const;
336 void set_url(
const std::string &val);
337 std::string get_url()
const;
340 void set_version(
const std::string &val);
341 std::string get_version()
const;
344 void set_x(
const std::string &val);
345 std::string get_x()
const;
348 void set_xlicclustercount(
const std::string &val);
349 std::string get_xlicclustercount()
const;
352 void set_xlicerror(
const std::string &val);
353 std::string get_xlicerror()
const;
356 void set_xlicmimecharset(
const std::string &val);
357 std::string get_xlicmimecharset()
const;
360 void set_xlicmimecid(
const std::string &val);
361 std::string get_xlicmimecid()
const;
364 void set_xlicmimecontenttype(
const std::string &val);
365 std::string get_xlicmimecontenttype()
const;
368 void set_xlicmimeencoding(
const std::string &val);
369 std::string get_xlicmimeencoding()
const;
372 void set_xlicmimefilename(
const std::string &val);
373 std::string get_xlicmimefilename()
const;
376 void set_xlicmimeoptinfo(
const std::string &val);
377 std::string get_xlicmimeoptinfo()
const;
Definition icptrholder_cxx.h:48
Definition icalparameter_cxx.h:38
Definition icalproperty_cxx.h:41
ICalParameter * get_first_parameter(const icalparameter_kind &kind)
std::string get_name() const
void set_value(const ICalValue &val)
Definition icalvalue_cxx.h:36
Error handling for libical.
C++ template classes for managing C++ pointers returned by VComponent::get_..._component,...
Definition icalattachimpl.h:26
Definition icaltypes.h:28
A struct representing a duration.
Definition icalduration.h:37
Definition icaltypes.h:34
Struct to represent a period in time.
Definition icalperiod.h:38
Definition icalrecur.h:152
Definition icaltime.h:105
Definition icaltypes.h:40