class UnionPayload

Defined at line 597 of file fidling/gen/src/tests/fidl/dynsuite/client_suite/fidl/fidl.clientsuite/cpp/fidl/fidl.clientsuite/cpp/natural_types.h

Public Methods

void UnionPayload (UnionPayload && other)
UnionPayload & operator= (UnionPayload && other)
void UnionPayload (const UnionPayload & other)
UnionPayload & operator= (const UnionPayload & other)
bool operator== (const UnionPayload & other)
bool operator!= (const UnionPayload & other)
bool IsUnknown ()
::fidl_clientsuite::UnionPayload::Tag Which ()
UnionPayload WithSomeVariant (int32_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> some_variant ()
::fidl::internal::UnionMemberView<1, Storage_> some_variant ()
UnionPayload & some_variant (int32_t value)

Sets the union to hold the some_variant member.

void UnionPayload (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kSomeVariant 1
_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 606 of file fidling/gen/src/tests/fidl/dynsuite/client_suite/fidl/fidl.clientsuite/cpp/fidl/fidl.clientsuite/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits