class TestStrictXUnion
Defined at line 578 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/cpp/fidl/test.types/cpp/natural_types.h
Public Methods
void TestStrictXUnion (TestStrictXUnion && other)
TestStrictXUnion & operator= (TestStrictXUnion && other)
void TestStrictXUnion (const TestStrictXUnion & other)
TestStrictXUnion & operator= (const TestStrictXUnion & other)
bool operator== (const TestStrictXUnion & other)
bool operator!= (const TestStrictXUnion & other)
::test_types::TestStrictXUnion::Tag Which ()
TestStrictXUnion WithPrimitive (int32_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> primitive ()
::fidl::internal::UnionMemberView<1, Storage_> primitive ()
TestStrictXUnion & primitive (int32_t value)
Sets the union to hold the primitive member.
TestStrictXUnion WithCopyable (::test_types::CopyableStruct val)
const ::fidl::internal::UnionMemberView<2, Storage_> copyable ()
::fidl::internal::UnionMemberView<2, Storage_> copyable ()
TestStrictXUnion & copyable (::test_types::CopyableStruct value)
Sets the union to hold the copyable member.
void TestStrictXUnion (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kPrimitive | 1 |
| kCopyable | 2 |
TODO: share union tag types between wire
&
natural.
Defined at line 588 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/cpp/fidl/test.types/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits