class ErrorSyntax_FooPayload_Result
Defined at line 3056 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 ErrorSyntax_FooPayload_Result ()
void ErrorSyntax_FooPayload_Result (ErrorSyntax_FooPayload_Result && )
bool is_response ()
Defined at line 3087 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
ErrorSyntax_FooPayload_Result & operator= (ErrorSyntax_FooPayload_Result && )
ErrorSyntax_FooPayload_Result WithResponse (::test::types::FooResponse && )
ErrorSyntax_FooPayload_Result WithErr (int32_t && )
::std::unique_ptr<ErrorSyntax_FooPayload_Result> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ErrorSyntax_FooPayload_Result * value, size_t offset)
zx_status_t Clone (ErrorSyntax_FooPayload_Result * result)
bool has_invalid_tag ()
Defined at line 3083 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
::test::types::FooResponse & response ()
Defined at line 3089 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
const ::test::types::FooResponse & response ()
Defined at line 3094 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
bool is_err ()
Defined at line 3100 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
int32_t & err ()
Defined at line 3102 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
const int32_t & err ()
Defined at line 3107 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
::test::types::ErrorSyntax_FooPayload_Result::Tag Which ()
Defined at line 3113 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 3121 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
void ErrorSyntax_FooPayload_Result (fpromise::ok_result<int32_t> && result)
Defined at line 3126 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
void ErrorSyntax_FooPayload_Result (fpromise::error_result<int32_t> && result)
Defined at line 3129 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
void ErrorSyntax_FooPayload_Result (fpromise::result<int32_t, int32_t> && result)
Defined at line 3132 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
fpromise::result<int32_t, int32_t> operator result ()
Defined at line 3140 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
void ~ErrorSyntax_FooPayload_Result ()
ErrorSyntax_FooPayload_Result & set_response (::test::types::FooResponse value)
ErrorSyntax_FooPayload_Result & set_err (int32_t value)
Enumerations
enum Tag
| Name | Value |
|---|---|
| kResponse | 1 |
| kErr | 2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 3069 of file fidling/gen/sdk/testing/fidl/types_tests/test.types/hlcpp/test/types/cpp/fidl.h
Friends
class Equality