Struct

ECalComponentParameterBag

Description [src]

struct ECalComponentParameterBag {
  /* No available fields */
}

Opaque structure, which represents a bad (list) of ICalParameter objects. Use the functions below to work with it.

Constructors

e_cal_component_parameter_bag_new

Creates a new ECalComponentParameterBag. Free the structure with e_cal_component_parameter_bag_free(), when no longer needed.

since: 3.34

e_cal_component_parameter_bag_new_from_property

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.

since: 3.34

Instance methods

e_cal_component_parameter_bag_add

Adds a copy of the param into the bag.

since: 3.34

e_cal_component_parameter_bag_assign

Assigns content of the src_bag into the bag.

since: 3.34

e_cal_component_parameter_bag_clear

Removes all parameters from the bag, thus it doesn’t contain any parameter after this function returns.

since: 3.34

e_cal_component_parameter_bag_copy

Returns a newly allocated copy of bag, which should be freed with e_cal_component_parameter_bag_free(), when no longer needed.

since: 3.34

e_cal_component_parameter_bag_fill_property

Adds all the stored parameters in the bag to the property. The function replaces any existing parameter with the new value, if any such exists. Otherwise the parameter is added.

since: 3.34

e_cal_component_parameter_bag_free

Free bag, previously created by e_cal_component_parameter_bag_new(), e_cal_component_parameter_bag_new_from_component() or e_cal_component_parameter_bag_copy(). The function does nothing, if bag is NULL.

since: 3.34

e_cal_component_parameter_bag_get

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.

since: 3.34

e_cal_component_parameter_bag_get_count
No description available.

since: 3.34

e_cal_component_parameter_bag_get_first_by_kind
No description available.

since: 3.34

e_cal_component_parameter_bag_remove

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.

since: 3.34

e_cal_component_parameter_bag_remove_by_kind

Removes the first or all (depending on the all) parameters of the given kind.

since: 3.34

e_cal_component_parameter_bag_set_from_property

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.

since: 3.34

e_cal_component_parameter_bag_take

Adds the param into the bag and assumes ownership of the param.

since: 3.34