class File_Allocate_Result
Defined at line 3397 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
Public Members
static const fidl_type_t * FidlType
Public Methods
void File_Allocate_Result ()
bool is_err ()
Defined at line 3443 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
int32_t & err ()
Defined at line 3445 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
const int32_t & err ()
Defined at line 3450 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool is_framework_err ()
Defined at line 3456 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
::fidl::FrameworkErr & framework_err ()
Defined at line 3458 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
const ::fidl::FrameworkErr & framework_err ()
Defined at line 3463 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
::fuchsia::io::File_Allocate_Result::Tag Which ()
Defined at line 3469 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/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 3477 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void File_Allocate_Result (fpromise::ok_result<void> && result)
Defined at line 3482 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void File_Allocate_Result (fpromise::error_result<int32_t> && result)
Defined at line 3485 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void File_Allocate_Result (fpromise::result<void, int32_t> && result)
Defined at line 3488 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
fpromise::result<void, std::variant<int32_t, ::fidl::FrameworkErr>> operator result ()
Defined at line 3496 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void ~File_Allocate_Result ()
void File_Allocate_Result (File_Allocate_Result && )
File_Allocate_Result & operator= (File_Allocate_Result && )
File_Allocate_Result WithResponse (::fuchsia::io::File_Allocate_Response && )
File_Allocate_Result WithErr (int32_t && )
File_Allocate_Result WithFrameworkErr (::fidl::FrameworkErr && )
::std::unique_ptr<File_Allocate_Result> New ()
void Encode (::fidl::Encoder *encoder,size_toffset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,File_Allocate_Result *value,size_toffset)
zx_status_t Clone (File_Allocate_Result * result)
bool has_invalid_tag ()
Defined at line 3426 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool is_response ()
Defined at line 3430 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
::fuchsia::io::File_Allocate_Response & response ()
Defined at line 3432 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
const ::fuchsia::io::File_Allocate_Response & response ()
Defined at line 3437 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
File_Allocate_Result & set_response (::fuchsia::io::File_Allocate_Response value)
File_Allocate_Result & set_err (int32_t value)
File_Allocate_Result & set_framework_err (::fidl::FrameworkErr value)
Enumerations
enum Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kResponse | 1 |
0x1 |
| kErr | 2 |
0x2 |
| kFrameworkErr | 3 |
0x3 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() | -- |
Defined at line 3411 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
Friends
class Equality