Top | ![]() |
![]() |
![]() |
![]() |
ModulemdSimpleSet * | modulemd_simpleset_new () |
gboolean | modulemd_simpleset_contains () |
guint | modulemd_simpleset_size () |
void | modulemd_simpleset_set () |
gchar ** | modulemd_simpleset_get () |
void | modulemd_simpleset_add () |
void | modulemd_simpleset_remove () |
gboolean modulemd_simpleset_contains (ModulemdSimpleSet *self
,const gchar *value
);
void modulemd_simpleset_set (ModulemdSimpleSet *self
,gchar **set
);
Make the contents of the set equal to an array of strings. This function will trigger a signal only if the resulting set is different. It does not guarantee any order to the resulting set, only that it will be unique.
gchar **
modulemd_simpleset_get (ModulemdSimpleSet *self
);
Retrieves the set as a GPtrArray of strings
void modulemd_simpleset_add (ModulemdSimpleSet *self
,const gchar *value
);
This routine will add a new value to the set if it is not already present.
void modulemd_simpleset_remove (ModulemdSimpleSet *self
,const gchar *value
);
This routine will remove a value from the set if it is present.