Data Structures | |
| struct | _MidgardReflectionPropertyClass |
Functions | |
| GType | midgard_reflection_property_get_type (void) |
| GType | midgard_reflection_property_get_midgard_type (MidgardReflectionProperty *object, const gchar *name) |
| gboolean | midgard_reflection_property_is_link (MidgardReflectionProperty *object, const gchar *name) |
| gboolean | midgard_reflection_property_is_linked (MidgardReflectionProperty *object, const gchar *name) |
| MidgardObjectClass * | midgard_reflection_property_get_link_class (MidgardReflectionProperty *object, const gchar *name) |
| const gchar * | midgard_reflection_property_get_link_name (MidgardReflectionProperty *object, const gchar *name) |
| const gchar * | midgard_reflection_property_get_link_target (MidgardReflectionProperty *object, const gchar *name) |
| const gchar * | midgard_reflection_property_description (MidgardReflectionProperty *object, const gchar *name) |
| gboolean | midgard_reflection_property_is_multilang (MidgardReflectionProperty *object, 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 154 of file midgard_reflection_property.c. References _MidgardReflectionProperty::klass. |
|
||||||||||||
|
Returns the class that the named property is linked to. Returns NULL if the named property is not a link.
Definition at line 184 of file midgard_reflection_property.c. References _MidgardObjectClass::data, _MgdSchemaPropertyAttr::is_link, _MidgardReflectionProperty::klass, _MgdSchemaPropertyAttr::link, and _MgdSchemaTypeAttr::prophash. |
|
||||||||||||
|
Gets the class name of type which property is linked to.
Definition at line 125 of file midgard_reflection_property.c. References _MidgardObjectClass::data, _MidgardReflectionProperty::klass, _MgdSchemaPropertyAttr::link, and _MgdSchemaTypeAttr::prophash. |
|
||||||||||||
|
Gets the name of target property.
Definition at line 139 of file midgard_reflection_property.c. References _MidgardObjectClass::data, _MidgardReflectionProperty::klass, _MgdSchemaPropertyAttr::link_target, and _MgdSchemaTypeAttr::prophash. |
|
||||||||||||
|
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 83 of file midgard_reflection_property.c. References _MidgardObjectClass::data, _MgdSchemaPropertyAttr::gtype, _MidgardReflectionProperty::klass, and _MgdSchemaTypeAttr::prophash. Referenced by _midgard_core_object_is_valid(). |
|
|
Returns the MidgardReflectionProperty value type. Registers the type as a fundamental GType unless already registered. Definition at line 49 of file midgard_reflection_property.c. |
|
||||||||||||
|
Checks if property is a link to another type.
Definition at line 97 of file midgard_reflection_property.c. References _MidgardObjectClass::data, _MgdSchemaPropertyAttr::is_link, _MidgardReflectionProperty::klass, and _MgdSchemaTypeAttr::prophash. |
|
||||||||||||
|
Checks if property is linked with another type.
Definition at line 111 of file midgard_reflection_property.c. References _MidgardObjectClass::data, _MgdSchemaPropertyAttr::is_linked, _MidgardReflectionProperty::klass, and _MgdSchemaTypeAttr::prophash. |
|
||||||||||||
|
Checks if property is multilingual.
Property's multilang attribute should be defined in xml schema file. Definition at line 170 of file midgard_reflection_property.c. References _MidgardObjectClass::data, _MgdSchemaPropertyAttr::is_multilang, _MidgardReflectionProperty::klass, and _MgdSchemaTypeAttr::prophash. |
1.4.6