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 Tag
| Name | Value |
|---|---|
| kPrimitive | 1 |
| kCopyable | 2 |
| kH | 3 |
| _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