class DictionaryValue
Defined at line 43 of file fidling/gen/sdk/fidl/fuchsia.driver.metadata/fuchsia.driver.metadata/cpp/fidl/fuchsia.driver.metadata/cpp/natural_types.h
A dictionary's value is an integer or a list of integers.
Public Methods
void DictionaryValue (DictionaryValue && other)
DictionaryValue & operator= (DictionaryValue && other)
void DictionaryValue (const DictionaryValue & other)
DictionaryValue & operator= (const DictionaryValue & other)
bool operator== (const DictionaryValue & other)
bool operator!= (const DictionaryValue & other)
bool IsUnknown ()
::fuchsia_driver_metadata::DictionaryValue::Tag Which ()
DictionaryValue WithInt64 (int64_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> int64 ()
::fidl::internal::UnionMemberView<1, Storage_> int64 ()
DictionaryValue & int64 (int64_t value)
Sets the union to hold the int64 member.
DictionaryValue WithInt64Vec (::std::vector<int64_t> val)
const ::fidl::internal::UnionMemberView<2, Storage_> int64_vec ()
::fidl::internal::UnionMemberView<2, Storage_> int64_vec ()
DictionaryValue & int64_vec (::std::vector<int64_t> value)
Sets the union to hold the int64_vec member.
DictionaryValue WithStr (::std::string val)
const ::fidl::internal::UnionMemberView<3, Storage_> str ()
::fidl::internal::UnionMemberView<3, Storage_> str ()
DictionaryValue & str (::std::string value)
Sets the union to hold the str member.
DictionaryValue WithStrVec (::std::vector< ::std::string> val)
const ::fidl::internal::UnionMemberView<4, Storage_> str_vec ()
::fidl::internal::UnionMemberView<4, Storage_> str_vec ()
DictionaryValue & str_vec (::std::vector< ::std::string> value)
Sets the union to hold the str_vec member.
DictionaryValue WithBoolean (bool val)
const ::fidl::internal::UnionMemberView<5, Storage_> boolean ()
::fidl::internal::UnionMemberView<5, Storage_> boolean ()
DictionaryValue & boolean (bool value)
Sets the union to hold the boolean member.
void DictionaryValue (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum class Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kInt64 | 1 |
0x1 |
| kInt64Vec | 2 |
0x2 |
| kStr | 3 |
0x3 |
| kStrVec | 4 |
0x4 |
| kBoolean | 5 |
0x5 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() | -- |
TODO: share union tag types between wire
&
natural.
Defined at line 51 of file fidling/gen/sdk/fidl/fuchsia.driver.metadata/fuchsia.driver.metadata/cpp/fidl/fuchsia.driver.metadata/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits