Midgard2 Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites | Known Implementations |
MidgardModelReference; const gchar * midgard_model_reference_get_id (MidgardModelReference *self
,GError **error
); GValue * midgard_model_reference_get_id_value (MidgardModelReference *self
,GError **error
);
const gchar * midgard_model_reference_get_id (MidgardModelReference *self
,GError **error
);
|
MidgardModelReference instance |
|
pointer to store returned error |
Returns : |
Unique id of the model, or NULL in case of error |
Since 12.09
GValue * midgard_model_reference_get_id_value (MidgardModelReference *self
,GError **error
);
The purpose of this method is to return generic GValue which can hold either string or integer id.
|
MidgardModelReference instance |
|
pointer to store returned error |
Returns : |
New GValue which holds id of the model, or NULL in case of error. |
Since 12.09