class TestStrictXUnion
Defined at line 823 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
void TestStrictXUnion ()
void ~TestStrictXUnion ()
void TestStrictXUnion (TestStrictXUnion && )
TestStrictXUnion & operator= (TestStrictXUnion && )
TestStrictXUnion WithPrimitive (int32_t && )
TestStrictXUnion WithCopyable (::test::types::CopyableStruct && )
::std::unique_ptr<TestStrictXUnion> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, TestStrictXUnion * value, size_t offset)
zx_status_t Clone (TestStrictXUnion * result)
bool has_invalid_tag ()
Defined at line 850 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
bool is_primitive ()
Defined at line 854 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
int32_t & primitive ()
Defined at line 856 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
const int32_t & primitive ()
Defined at line 861 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
bool is_copyable ()
Defined at line 867 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
::test::types::CopyableStruct & copyable ()
Defined at line 869 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
const ::test::types::CopyableStruct & copyable ()
Defined at line 874 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
::test::types::TestStrictXUnion::Tag Which ()
Defined at line 880 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
fidl_xunion_tag_t Ordinal ()
You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need
access to the raw integral ordinal value.
Defined at line 888 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
TestStrictXUnion & set_primitive (int32_t value)
TestStrictXUnion & set_copyable (::test::types::CopyableStruct value)
Enumerations
enum Tag
| Name | Value |
|---|---|
| kPrimitive | 1 |
| kCopyable | 2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 836 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
Friends
class Equality