blob: 362183d55b3fc1470bc0bef8b49d2751a9999baa [file] [log] [blame]
Lei YUe57c38e2019-09-20 17:38:17 +08001description: >
Patrick Williams9f11c972022-03-14 14:39:30 -05002 A test interface
Lei YUe57c38e2019-09-20 17:38:17 +08003properties:
Patrick Williams9f11c972022-03-14 14:39:30 -05004 - name: SomeValue
5 type: int64
6 - name: ReadonlyValue
7 type: int64
8 flags:
9 - readonly
10 - emits_change
11 - name: ConstValue
12 type: int64
13 flags:
14 - const
15 - name: Countable
16 type: size
17 - name: SignedCountable
18 type: ssize
19 - name: UnsignedInt32
20 type: uint32
21 - name: UnsignedInt64
22 type: uint64
23 - name: ObjectPath
24 type: object_path
25 - name: DoubleAsNAN
26 type: double
27 default: NaN
28 - name: DoubleAsInf
29 type: double
30 default: Infinity
31 - name: DoubleAsNegInf
32 type: double
33 default: -Infinity
34 - name: DoubleAsEpsilon
35 type: double
36 default: Epsilon
Patrick Williamsea56ec32021-07-14 07:41:47 -050037
Patrick Williams9f11c972022-03-14 14:39:30 -050038 - name: VariantOfEnums
39 type: variant[enum[self.EnumOne], string, enum[self.EnumTwo]]
Patrick Williamsea56ec32021-07-14 07:41:47 -050040
41enumerations:
Patrick Williams9f11c972022-03-14 14:39:30 -050042 - name: EnumOne
43 values:
44 - name: OneA
45 - name: OneB
46 - name: EnumTwo
47 values:
48 - name: TwoA
49 - name: TwoB