class DictionaryValue
Defined at line 137 of file fidling/gen/sdk/fidl/fuchsia.data/fuchsia.data/cpp/fidl/fuchsia.data/cpp/natural_types.h
A dictionary's value is a string, a list of strings, or a list of objects.
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_data::DictionaryValue::Tag Which ()
DictionaryValue WithStr (::std::string val)
const ::fidl::internal::UnionMemberView<1, Storage_> str ()
::fidl::internal::UnionMemberView<1, 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<2, Storage_> str_vec ()
::fidl::internal::UnionMemberView<2, Storage_> str_vec ()
DictionaryValue & str_vec (::std::vector< ::std::string> value)
Sets the union to hold the str_vec member.
DictionaryValue WithObjVec (::std::vector< ::fuchsia_data::Dictionary> val)
const ::fidl::internal::UnionMemberView<3, Storage_> obj_vec ()
::fidl::internal::UnionMemberView<3, Storage_> obj_vec ()
DictionaryValue & obj_vec (::std::vector< ::fuchsia_data::Dictionary> value)
Sets the union to hold the obj_vec member.
void DictionaryValue (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kStr | 1 |
| kStrVec | 2 |
| kObjVec | 3 |
| _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 145 of file fidling/gen/sdk/fidl/fuchsia.data/fuchsia.data/cpp/fidl/fuchsia.data/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits