class SerializableUnion

Defined at line 2715 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/cpp/fidl/test.types/cpp/natural_types.h

Public Members

static const char[] kSerializableName

Public Methods

void SerializableUnion (SerializableUnion && other)
SerializableUnion & operator= (SerializableUnion && other)
void SerializableUnion (const SerializableUnion & other)
SerializableUnion & operator= (const SerializableUnion & other)
bool operator== (const SerializableUnion & other)
bool operator!= (const SerializableUnion & other)
::test_types::SerializableUnion::Tag Which ()
SerializableUnion WithUnused (bool val)
const ::fidl::internal::UnionMemberView<1, Storage_> unused ()
::fidl::internal::UnionMemberView<1, Storage_> unused ()
SerializableUnion & unused (bool value)

Sets the union to hold the unused member.

void SerializableUnion (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kUnused 1

TODO: share union tag types between wire

&

natural.

Defined at line 2724 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/cpp/fidl/test.types/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits