class ConfigSingleValue

Defined at line 677 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h

A single configuration value.

Public Methods

void ConfigSingleValue (ConfigSingleValue && other)
ConfigSingleValue & operator= (ConfigSingleValue && other)
void ConfigSingleValue (const ConfigSingleValue & other)
ConfigSingleValue & operator= (const ConfigSingleValue & other)
bool operator== (const ConfigSingleValue & other)
bool operator!= (const ConfigSingleValue & other)
bool IsUnknown ()
::fuchsia_component_decl::ConfigSingleValue::Tag Which ()
ConfigSingleValue WithBool_ (bool val)
const ::fidl::internal::UnionMemberView<1, Storage_> bool_ ()
::fidl::internal::UnionMemberView<1, Storage_> bool_ ()
ConfigSingleValue & bool_ (bool value)

Sets the union to hold the bool_ member.

ConfigSingleValue WithUint8 (uint8_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> uint8 ()
::fidl::internal::UnionMemberView<2, Storage_> uint8 ()
ConfigSingleValue & uint8 (uint8_t value)

Sets the union to hold the uint8 member.

ConfigSingleValue WithUint16 (uint16_t val)
const ::fidl::internal::UnionMemberView<3, Storage_> uint16 ()
::fidl::internal::UnionMemberView<3, Storage_> uint16 ()
ConfigSingleValue & uint16 (uint16_t value)

Sets the union to hold the uint16 member.

ConfigSingleValue WithUint32 (uint32_t val)
const ::fidl::internal::UnionMemberView<4, Storage_> uint32 ()
::fidl::internal::UnionMemberView<4, Storage_> uint32 ()
ConfigSingleValue & uint32 (uint32_t value)

Sets the union to hold the uint32 member.

ConfigSingleValue WithUint64 (uint64_t val)
const ::fidl::internal::UnionMemberView<5, Storage_> uint64 ()
::fidl::internal::UnionMemberView<5, Storage_> uint64 ()
ConfigSingleValue & uint64 (uint64_t value)

Sets the union to hold the uint64 member.

ConfigSingleValue WithInt8 (int8_t val)
const ::fidl::internal::UnionMemberView<6, Storage_> int8 ()
::fidl::internal::UnionMemberView<6, Storage_> int8 ()
ConfigSingleValue & int8 (int8_t value)

Sets the union to hold the int8 member.

ConfigSingleValue WithInt16 (int16_t val)
const ::fidl::internal::UnionMemberView<7, Storage_> int16 ()
::fidl::internal::UnionMemberView<7, Storage_> int16 ()
ConfigSingleValue & int16 (int16_t value)

Sets the union to hold the int16 member.

ConfigSingleValue WithInt32 (int32_t val)
const ::fidl::internal::UnionMemberView<8, Storage_> int32 ()
::fidl::internal::UnionMemberView<8, Storage_> int32 ()
ConfigSingleValue & int32 (int32_t value)

Sets the union to hold the int32 member.

ConfigSingleValue WithInt64 (int64_t val)
const ::fidl::internal::UnionMemberView<9, Storage_> int64 ()
::fidl::internal::UnionMemberView<9, Storage_> int64 ()
ConfigSingleValue & int64 (int64_t value)

Sets the union to hold the int64 member.

ConfigSingleValue WithString (::std::string val)
const ::fidl::internal::UnionMemberView<10, Storage_> string ()
::fidl::internal::UnionMemberView<10, Storage_> string ()
ConfigSingleValue & string (::std::string value)

Sets the union to hold the string member.

void ConfigSingleValue (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kBool 1
kUint8 2
kUint16 3
kUint32 4
kUint64 5
kInt8 6
kInt16 7
kInt32 8
kInt64 9
kString 10
_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 695 of file fidling/gen/sdk/fidl/fuchsia.component.decl/fuchsia.component.decl/cpp/fidl/fuchsia.component.decl/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits