Data Structures | |
| struct | _MidgardObjectProperty |
Functions | |
| GType | midgard_object_property_get_type (void) |
| GType | midgard_object_property_get_midgard_type (const gchar *classname, const gchar *name) |
| gboolean | midgard_object_property_is_link (const gchar *classname, const gchar *name) |
| gboolean | midgard_object_property_is_linked (const gchar *classname, const gchar *name) |
| MidgardObjectClass * | midgard_object_property_get_link_class (MidgardObjectClass *klass, const gchar *name) |
| const gchar * | midgard_object_property_get_link_name (const gchar *classname, const gchar *name) |
| const gchar * | midgard_object_property_description (const gchar *classname, const gchar *name) |
| gboolean | midgard_object_property_is_multilang (const gchar *classname, const gchar *name) |
|
||||||||||||
|
Gets description of the property.
NULL is returned when property is not found as member of a class or if class is not registered within GType system. Definition at line 124 of file midgard_object_property.c. |
|
||||||||||||
|
Returns the class that the named property is linked to. Returns NULL if the named property is not a link.
Definition at line 156 of file midgard_object_property.c. References _MidgardObjectClass::data, _MgdSchemaPropertyAttr::is_link, _MgdSchemaPropertyAttr::link, and _MgdSchemaTypeAttr::prophash. |
|
||||||||||||
|
Gets the class name of type which property is linked to.
Definition at line 111 of file midgard_object_property.c. References _MgdSchemaPropertyAttr::link. |
|
||||||||||||
|
Get Midgard Type of the property.
MGD_TYPE_NONE is returned if property is not found as member of a class or if class is not registered within GType system. Definition at line 71 of file midgard_object_property.c. References _MgdSchemaPropertyAttr::gtype. |
|
|
Returns the MidgardObjectProperty value type. Registers the type as a fundamental GType unless already registered. Definition at line 46 of file midgard_object_property.c. |
|
||||||||||||
|
Checks if property is a link to another type.
Definition at line 84 of file midgard_object_property.c. References _MgdSchemaPropertyAttr::is_link. |
|
||||||||||||
|
Checks if property is linked with another type.
Definition at line 97 of file midgard_object_property.c. References _MgdSchemaPropertyAttr::is_linked. |
|
||||||||||||
|
Checks if property is multilingual.
Property's multilang attribute should be defined in xml schema file. Definition at line 143 of file midgard_object_property.c. References _MgdSchemaPropertyAttr::is_multilang. |
1.4.6