class ErrorSyntaxFooPayloadResult

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

Public Methods

void ErrorSyntaxFooPayloadResult (ErrorSyntaxFooPayloadResult && other)
ErrorSyntaxFooPayloadResult & operator= (ErrorSyntaxFooPayloadResult && other)
void ErrorSyntaxFooPayloadResult (const ErrorSyntaxFooPayloadResult & other)
ErrorSyntaxFooPayloadResult & operator= (const ErrorSyntaxFooPayloadResult & other)
bool operator== (const ErrorSyntaxFooPayloadResult & other)
bool operator!= (const ErrorSyntaxFooPayloadResult & other)
::test_types::ErrorSyntaxFooPayloadResult::Tag Which ()
ErrorSyntaxFooPayloadResult WithResponse (::test_types::FooResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
ErrorSyntaxFooPayloadResult & response (::test_types::FooResponse value)

Sets the union to hold the response member.

ErrorSyntaxFooPayloadResult WithErr (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
ErrorSyntaxFooPayloadResult & err (int32_t value)

Sets the union to hold the err member.

void ErrorSyntaxFooPayloadResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kResponse 1
kErr 2

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits