class TestXUnion

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

Public Methods

bool IsUnknown ()

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

void TestXUnion ()
void ~TestXUnion ()
void TestXUnion (TestXUnion && other)
TestXUnion & operator= (TestXUnion && other)
bool has_invalid_tag ()
bool is_primitive ()
TestXUnion WithPrimitive (int32_t val)
int32_t & primitive ()
const int32_t & primitive ()
bool is_copyable ()
TestXUnion WithCopyable (::test_types::wire::CopyableStruct val)
::test_types::wire::CopyableStruct & copyable ()
const ::test_types::wire::CopyableStruct & copyable ()
bool is_h ()
TestXUnion WithH (::zx::handle val)
::zx::handle & h ()
const ::zx::handle & h ()
::test_types::wire::TestXUnion::Tag Which ()
void _CloseHandles ()

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kPrimitive 1

0x1

kCopyable 2

0x2

kH 3

0x3

_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max() --

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