class OpenProtocol_FlexibleTwoWay_Result

Defined at line 1109 of file fidling/gen/sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl/test.protocols/hlcpp/test/protocols/cpp/fidl.h

Public Members

static const fidl_type_t * FidlType

Public Methods

void OpenProtocol_FlexibleTwoWay_Result ()
void ~OpenProtocol_FlexibleTwoWay_Result ()
void OpenProtocol_FlexibleTwoWay_Result (OpenProtocol_FlexibleTwoWay_Result && )
OpenProtocol_FlexibleTwoWay_Result & operator= (OpenProtocol_FlexibleTwoWay_Result && )
OpenProtocol_FlexibleTwoWay_Result WithResponse (::test::protocols::OpenProtocol_FlexibleTwoWay_Response && )
OpenProtocol_FlexibleTwoWay_Result WithFrameworkErr (::fidl::FrameworkErr && )
::std::unique_ptr<OpenProtocol_FlexibleTwoWay_Result> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, OpenProtocol_FlexibleTwoWay_Result * value, size_t offset)
zx_status_t Clone (OpenProtocol_FlexibleTwoWay_Result * result)
bool has_invalid_tag ()

Defined at line 1136 of file fidling/gen/sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl/test.protocols/hlcpp/test/protocols/cpp/fidl.h

bool is_response ()

Defined at line 1140 of file fidling/gen/sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl/test.protocols/hlcpp/test/protocols/cpp/fidl.h

::test::protocols::OpenProtocol_FlexibleTwoWay_Response & response ()

Defined at line 1142 of file fidling/gen/sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl/test.protocols/hlcpp/test/protocols/cpp/fidl.h

const ::test::protocols::OpenProtocol_FlexibleTwoWay_Response & response ()

Defined at line 1147 of file fidling/gen/sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl/test.protocols/hlcpp/test/protocols/cpp/fidl.h

bool is_framework_err ()

Defined at line 1153 of file fidling/gen/sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl/test.protocols/hlcpp/test/protocols/cpp/fidl.h

::fidl::FrameworkErr & framework_err ()

Defined at line 1155 of file fidling/gen/sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl/test.protocols/hlcpp/test/protocols/cpp/fidl.h

const ::fidl::FrameworkErr & framework_err ()

Defined at line 1160 of file fidling/gen/sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl/test.protocols/hlcpp/test/protocols/cpp/fidl.h

::test::protocols::OpenProtocol_FlexibleTwoWay_Result::Tag Which ()

Defined at line 1166 of file fidling/gen/sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl/test.protocols/hlcpp/test/protocols/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 1172 of file fidling/gen/sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl/test.protocols/hlcpp/test/protocols/cpp/fidl.h

void OpenProtocol_FlexibleTwoWay_Result (fpromise::ok_result<int32_t> && result)

Defined at line 1177 of file fidling/gen/sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl/test.protocols/hlcpp/test/protocols/cpp/fidl.h

fpromise::result<int32_t, ::fidl::FrameworkErr> operator result ()

Defined at line 1180 of file fidling/gen/sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl/test.protocols/hlcpp/test/protocols/cpp/fidl.h

OpenProtocol_FlexibleTwoWay_Result & set_response (::test::protocols::OpenProtocol_FlexibleTwoWay_Response value)
OpenProtocol_FlexibleTwoWay_Result & set_framework_err (::fidl::FrameworkErr value)

Enumerations

enum Tag
Name Value
kResponse 1
kFrameworkErr 3
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

Defined at line 1122 of file fidling/gen/sdk/lib/fidl/cpp/tests/hlcpp_conversion/fidl/test.protocols/hlcpp/test/protocols/cpp/fidl.h

Friends

class Equality