ObjectBag
Object Hierarchy:
Description:
[ CCode ( has_type_id = false ) ]
[ Compact ]
public class ObjectBag
Content:
Methods:
- public void* @get (void* key)
Lookup an object by key
.
- public void abort (void* key)
Aborts a key reservation.
- public void add (void* key, void* object)
Adds object
to this.
- public void destroy ()
Frees this.
- public GenericArray<Object> list ()
Returns a GenericArray of all the objects
in the bag.
- public void* peek (void* key)
Returns the object for key
in
this, ignoring any reservations.
- public void rekey (void* object, void* new_key)
Changes the key for object
to new_key
,
atomically.
- public void remove (void* object)
Removes object
from this
.
- public void* reserve (void* key)
Reserves key
in this.