class ConfigValue
Defined at line 977 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
A configuration value which can be provided to a component.
Used both for storing configuration at-rest and in runtime configuration APIs.
Public Methods
void ConfigValue (ConfigValue && other)
ConfigValue & operator= (ConfigValue && other)
void ConfigValue (const ConfigValue & other)
ConfigValue & operator= (const ConfigValue & other)
bool operator== (const ConfigValue & other)
bool operator!= (const ConfigValue & other)
bool IsUnknown ()
::fuchsia_component_decl::ConfigValue::Tag Which ()
ConfigValue WithSingle (::fuchsia_component_decl::ConfigSingleValue val)
const ::fidl::internal::UnionMemberView<1, Storage_> single ()
::fidl::internal::UnionMemberView<1, Storage_> single ()
ConfigValue & single (::fuchsia_component_decl::ConfigSingleValue value)
Sets the union to hold the single member.
ConfigValue WithVector (::fuchsia_component_decl::ConfigVectorValue val)
const ::fidl::internal::UnionMemberView<2, Storage_> vector ()
::fidl::internal::UnionMemberView<2, Storage_> vector ()
ConfigValue & vector (::fuchsia_component_decl::ConfigVectorValue value)
Sets the union to hold the vector member.
void ConfigValue (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kSingle | 1 |
| kVector | 2 |
| _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 987 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits