class ThisIsAXunion

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

Public Methods

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

Sets the union to hold the s member.

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

Sets the union to hold the b member.

void ThisIsAXunion (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kS 1
kB 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 386 of file fidling/gen/src/tests/fidl/compatibility/fidl/fidl_service/cpp/fidl/fidl.test.compatibility/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits