NamedFlags
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "camel_named_flags_get_type ()" ) ]
[ Compact ]
[ Version ( since = "3.24" ) ]
public class NamedFlags
Content:
Creation methods:
Methods:
- public unowned string? @get (uint index)
- public void clear ()
Removes all the elements of the array.
- public bool contains (string name)
- public NamedFlags copy ()
Creates a copy of the this and
returns it.
- public bool equal (NamedFlags? named_flags_b)
Compares content of the two NamedFlags and
returns whether they equal.
- public void free ()
Frees memory associated iwth the this
.
- public uint get_length ()
- public bool insert (string name)
Inserts a flag named name
into the
this, if it is not included already (comparing case sensitively), or does nothing otherwise.
- public bool remove (string name)
Removes a flag named name
from the
this.