| Top |
| const gchar * | as_relation_kind_to_string () |
| AsRelationKind | as_relation_kind_from_string () |
| const gchar * | as_relation_item_kind_to_string () |
| AsRelationItemKind | as_relation_item_kind_from_string () |
| AsRelationCompare | as_relation_compare_from_string () |
| const gchar * | as_relation_compare_to_string () |
| const gchar * | as_relation_compare_to_symbols_string () |
| AsRelation * | as_relation_new () |
| AsRelationKind | as_relation_get_kind () |
| void | as_relation_set_kind () |
| AsRelationItemKind | as_relation_get_item_kind () |
| void | as_relation_set_item_kind () |
| AsRelationCompare | as_relation_get_compare () |
| void | as_relation_set_compare () |
| const gchar * | as_relation_get_version () |
| void | as_relation_set_version () |
| const gchar * | as_relation_get_value () |
| gint | as_relation_get_value_int () |
| void | as_relation_set_value () |
| gboolean | as_relation_version_compare () |
| #define | AS_TYPE_RELATION |
| struct | AsRelationClass |
| enum | AsRelationKind |
| enum | AsRelationItemKind |
| enum | AsRelationCompare |
| AsRelation |
A component can have recommends- or requires relations on other components, system properties, other hardware and interfaces. This class contains a representation of those relations.
See also: AsComponent
const gchar *
as_relation_kind_to_string (AsRelationKind kind);
Converts the enumerated value to a text representation.
Since: 0.12.0
AsRelationKind
as_relation_kind_from_string (const gchar *kind_str);
Converts the text representation to an enumerated value.
Since: 0.12.0
const gchar *
as_relation_item_kind_to_string (AsRelationItemKind kind);
Converts the enumerated value to a text representation.
Since: 0.12.0
AsRelationItemKind
as_relation_item_kind_from_string (const gchar *kind_str);
Converts the text representation to an enumerated value.
Since: 0.12.0
AsRelationCompare
as_relation_compare_from_string (const gchar *compare_str);
Converts the text representation to an enumerated value.
Since: 0.12.0
const gchar *
as_relation_compare_to_string (AsRelationCompare compare);
Converts the enumerated value to an text representation. The enum is converted into a two-letter identifier ("eq", "ge", etc.) for use in the XML representation.
Since: 0.12.0
const gchar *
as_relation_compare_to_symbols_string (AsRelationCompare compare);
Converts the enumerated value to an text representation. The enum is converted into an identifier consisting of two mathematical comparison operators ("==", ">=", etc.) for use in the YAML representation and user interfaces.
Since: 0.12.0
AsRelationKind
as_relation_get_kind (AsRelation *relation);
The type (and thereby strength) of this AsRelation.
Since: 0.12.0
void as_relation_set_kind (AsRelation *relation,AsRelationKind kind);
Set the kind of this AsRelation.
Since: 0.12.0
AsRelationItemKind
as_relation_get_item_kind (AsRelation *relation);
The kind of the item of this AsRelation.
Since: 0.12.0
void as_relation_set_item_kind (AsRelation *relation,AsRelationItemKind kind);
Set the kind of the item this AsRelation is about.
Since: 0.12.0
AsRelationCompare
as_relation_get_compare (AsRelation *relation);
The version comparison type.
Since: 0.12.0
void as_relation_set_compare (AsRelation *relation,AsRelationCompare compare);
Set the version comparison type of this AsRelation.
Since: 0.12.0
const gchar *
as_relation_get_version (AsRelation *relation);
Since: 0.12.0
void as_relation_set_version (AsRelation *relation,const gchar *version);
Sets the item version.
Since: 0.12.0
void as_relation_set_value (AsRelation *relation,const gchar *value);
Sets the item value.
Since: 0.12.0
gboolean as_relation_version_compare (AsRelation *relation,const gchar *version,GError **error);
Tests whether the version number of this AsRelation is fulfilled by
version
. Whether the given version is sufficient to fulfill the version
requirement of this AsRelation is determined by its comparison resraint.
Since: 0.12.0