ArvGcEnumeration
ArvGcEnumeration — Class for Enumeration nodes
|
|
Functions
arv_gc_enumeration_new ()
ArvGcNode *
arv_gc_enumeration_new (void
);
arv_gc_enumeration_get_string_value ()
const char *
arv_gc_enumeration_get_string_value (ArvGcEnumeration *enumeration
,
GError **error
);
arv_gc_enumeration_set_string_value ()
void
arv_gc_enumeration_set_string_value (ArvGcEnumeration *enumeration
,
const char *value
,
GError **error
);
arv_gc_enumeration_get_entries ()
const GSList *
arv_gc_enumeration_get_entries (ArvGcEnumeration *enumeration
);
Returns
the list of enumeration entry nodes.
[element-type ArvGcFeatureNode][transfer none]
arv_gc_enumeration_get_available_int_values ()
gint64 *
arv_gc_enumeration_get_available_int_values
(ArvGcEnumeration *enumeration
,
guint *n_values
,
GError **error
);
arv_gc_enumeration_get_available_string_values ()
const char **
arv_gc_enumeration_get_available_string_values
(ArvGcEnumeration *enumeration
,
guint *n_values
,
GError **error
);
Create an array of all available values of enumeration
, as strings.
Returns
an newly created array of const strings, which must freed after use using g_free.
[array length=n_values][transfer container]
Types and Values
ArvGcEnumeration
typedef struct _ArvGcEnumeration ArvGcEnumeration;