Enumeration
AppStreamRelationCompare
since: 1.0
Members
AS_RELATION_COMPARE_UNKNOWN
-
Comparison predicate invalid or not known.
- Value:
0
- Nickname:
unknown
- Available since: 1.0
- Value:
AS_RELATION_COMPARE_EQ
-
Equal to.
- Value:
1
- Nickname:
eq
- Available since: 1.0
- Value:
AS_RELATION_COMPARE_NE
-
Not equal to.
- Value:
2
- Nickname:
ne
- Available since: 1.0
- Value:
AS_RELATION_COMPARE_LT
-
Less than.
- Value:
3
- Nickname:
lt
- Available since: 1.0
- Value:
AS_RELATION_COMPARE_GT
-
Greater than.
- Value:
4
- Nickname:
gt
- Available since: 1.0
- Value:
AS_RELATION_COMPARE_LE
-
Less than or equal to.
- Value:
5
- Nickname:
le
- Available since: 1.0
- Value:
AS_RELATION_COMPARE_GE
-
Greater than or equal to.
- Value:
6
- Nickname:
ge
- Available since: 1.0
- Value:
Type functions
as_relation_compare_from_string
Converts the text representation to an enumerated value.
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.
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.
since: 0.12.0