ComponentId
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "e_cal_component_id_get_type ()" ) ]
[ Compact ]
public class ComponentId
An opaque structure containing UID of a component and its recurrence ID (which can be null).
Use the functions below to work with it.
Content:
Creation methods:
- public ComponentId (string uid, string? rid)
Creates a new ComponentId from uid
and rid
, which should be freed with e_cal_component_id_free
.
- public ComponentId.take (owned string uid, owned string? rid)
Creates a new ComponentId from uid
and rid
, which should be freed with e_cal_component_id_free
.
Methods:
- public ComponentId copy ()
Returns a newly allocated copy of this,
which should be freed with e_cal_component_id_free
.
- public bool equal (ComponentId id2)
Compares two ComponentId structs for equality.
- public unowned string? get_rid ()
- public unowned string get_uid ()
- public uint hash ()
Generates a hash value for this.
- public void set_rid (string? rid)
Sets the RECURRENCE-ID part of the this.
- public void set_uid (string uid)
Sets the UID part of the this.