class ThisIsAUnion

Defined at line 278 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/cpp/fidl/fidl.test.compatibility/cpp/natural_types.h

Public Methods

void ThisIsAUnion (ThisIsAUnion && other)
ThisIsAUnion & operator= (ThisIsAUnion && other)
void ThisIsAUnion (const ThisIsAUnion & other)
ThisIsAUnion & operator= (const ThisIsAUnion & other)
bool operator== (const ThisIsAUnion & other)
bool operator!= (const ThisIsAUnion & other)
::fidl_test_compatibility::ThisIsAUnion::Tag Which ()
ThisIsAUnion WithS (::std::string val)
const ::fidl::internal::UnionMemberView<1, Storage_> s ()
::fidl::internal::UnionMemberView<1, Storage_> s ()
ThisIsAUnion & s (::std::string value)

Sets the union to hold the s member.

ThisIsAUnion WithB (bool val)
const ::fidl::internal::UnionMemberView<2, Storage_> b ()
::fidl::internal::UnionMemberView<2, Storage_> b ()
ThisIsAUnion & b (bool value)

Sets the union to hold the b member.

void ThisIsAUnion (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kS 1
kB 2

TODO: share union tag types between wire

&

natural.

Defined at line 288 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/cpp/fidl/fidl.test.compatibility/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits