Creates a new #ECalComponentParameterBag. Free the structure with e_cal_component_parameter_bag_free(), when no longer needed.
Assigns content of the src_bag
into the bag
.
a source #ECalComponentParameterBag
Removes all parameters from the bag,
thus it doesn't contain any
parameter after this function returns.
Returns a newly allocated copy of bag,
which should be freed with
e_cal_component_parameter_bag_free(), when no longer needed.
Returns the #ICalParameter at the given index
. If the index
is
out of bounds (not lower than e_cal_component_parameter_bag_get_count()),
then %NULL is returned.
The returned parameter is owned by the bag
and should not be freed
by the caller.
an index of the parameter to get
Removes the #ICalParameter at the given index
. If the index
is
out of bounds (not lower than e_cal_component_parameter_bag_get_count()),
then the function does nothing.
an index of the parameter to remove
Removes the first or all (depending on the all)
parameters of the given kind
.
an #ICalParameterKind to remove
%TRUE to remove all parameters of the kind,
or %FALSE to only the first
Fills the bag
with parameters from the property,
for which the func
returned %TRUE. When the func
is %NULL, all the parameters are included.
The bag
content is cleared before any parameter is added.
Creates a new #ECalComponentParameterBag. Free the structure with e_cal_component_parameter_bag_free(), when no longer needed.
Creates a new #ECalComponentParameterBag, filled with parameters
from the property,
for which the func
returned %TRUE. When
the func
is %NULL, all the parameters are included.
Free the structure with e_cal_component_parameter_bag_free(), when no longer needed.
Opaque structure, which represents a bad (list) of #ICalParameter objects. Use the functions below to work with it.