Enumeration

AppStreamRelationCompare

Declaration

enum AppStream.RelationCompare

Description [src]

The relational comparison type.

Members

Name Description
AS_RELATION_COMPARE_UNKNOWN

Comparison predicate invalid or not known.

AS_RELATION_COMPARE_EQ

Equal to.

AS_RELATION_COMPARE_NE

Not equal to.

AS_RELATION_COMPARE_LT

Less than.

AS_RELATION_COMPARE_GT

Greater than.

AS_RELATION_COMPARE_LE

Less than or equal to.

AS_RELATION_COMPARE_GE

Greater than or equal to.

Type functions

as_relation_compare_from_string

Converts the text representation to an enumerated value.

Available since: 0.12.0

as_relation_compare_to_string

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.

Available since: 0.12.0

as_relation_compare_to_symbols_string

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.

Available since: 0.12.0