-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VariantValue: support constructing variant values. (#316)
The VariantValue type was created as a representation of a variant that is read from the bus. For writing variants, a separate type ('Variant') exists. This PR makes it possible to compose variant values using VariantValue. These values can then be written to the bus. The UX of VariantValue when dealing with composite values (Dictionaries, Arrays of Arrays/Dictionaries/Structs) is clunkier than Variant (which offers a strongly-typed API). Such composite values are not expected to be the common case. The benefit of using VariantValue over Variant is that values read from the bus as VariantValue can now be also written back.
- Loading branch information
Showing
10 changed files
with
1,028 additions
and
313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.