class File_Allocate_Result
Defined at line 3506 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 3552 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
int32_t & err ()
Defined at line 3554 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
const int32_t & err ()
Defined at line 3559 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool is_framework_err ()
Defined at line 3565 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
::fidl::FrameworkErr & framework_err ()
Defined at line 3567 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
const ::fidl::FrameworkErr & framework_err ()
Defined at line 3572 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 3578 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 3586 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 3591 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 3594 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 3597 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 3605 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 3535 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool is_response ()
Defined at line 3539 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 3541 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 3546 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 3520 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
Friends
class Equality