Struct

NumCosmoMathObjDictInt

Description [src]

struct NcmObjDictInt {
  /* No available fields */
}

GObjects dictionary with integer keys.

A NcmObjDictInt is a GHashTable that holds GObject’s with integer keys. It is used to store GObject’s that can be serialized to a GVariant.

Constructors

ncm_obj_dict_int_new

Creates a new NcmObjDictInt.

Functions

ncm_obj_dict_int_clear

If odi is not NULL, unreferences it and sets odi to NULL.

Instance methods

ncm_obj_dict_int_add

Adds a GObject to a NcmObjDictInt.

ncm_obj_dict_int_get

Gets a GObject from a NcmObjDictInt with key key.

ncm_obj_dict_int_keys

Gets the keys of a NcmObjDictInt.

ncm_obj_dict_int_len

Gets the length of a NcmObjDictInt.

ncm_obj_dict_int_peek

Peeks a GObject from a NcmObjDictInt with key key without increasing its reference count.

ncm_obj_dict_int_ref

Increases the reference count of odi by one.

ncm_obj_dict_int_set

Sets a GObject to a NcmObjDictInt. If there is already a GObject with key key, it is unreferenced.

ncm_obj_dict_int_unref

Decreases the reference count of odi by one. If the reference count reaches zero, all objects in the dictionary are unreferenced.