class Options
Defined at line 5308 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
Options which can be used when opening nodes. Unlike [`Flags`], these options are designed for
specific use cases (e.g. to reduce round-trip latency when requesting attributes).
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::fuchsia::io::NodeAttributesQuery & attributes ()
Request a set of attributes to be sent with the OnRepresentation response. Has no effect
if `Flags.FLAG_SEND_REPRESENTATION` is not set.
Defined at line 5316 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_attributes ()
Defined at line 5320 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
::fuchsia::io::NodeAttributesQuery * mutable_attributes ()
Request a set of attributes to be sent with the OnRepresentation response. Has no effect
if `Flags.FLAG_SEND_REPRESENTATION` is not set.
Defined at line 5326 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void clear_attributes ()
Defined at line 5334 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
const ::fuchsia::io::MutableNodeAttributes & create_attributes ()
Request a set of attributes to be set atomically when creating a new object. Requests will
fail with `ZX_ERR_INVALID_ARGS` if neither `Flags.FLAG_MAYBE_CREATE` nor
`Flags.FLAG_MUST_CREATE` are set (i.e. the creation is mode is Never).
Defined at line 5345 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
bool has_create_attributes ()
Defined at line 5349 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
::fuchsia::io::MutableNodeAttributes * mutable_create_attributes ()
Request a set of attributes to be set atomically when creating a new object. Requests will
fail with `ZX_ERR_INVALID_ARGS` if neither `Flags.FLAG_MAYBE_CREATE` nor
`Flags.FLAG_MUST_CREATE` are set (i.e. the creation is mode is Never).
Defined at line 5356 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
void clear_create_attributes ()
Defined at line 5364 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h
Options & set_attributes (::fuchsia::io::NodeAttributesQuery _value)
Options & set_create_attributes (::fuchsia::io::MutableNodeAttributes _value)
void Options ()
void Options (Options && other)
void ~Options ()
Options & operator= (Options && other)
::std::unique_ptr<Options> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,Options *_value,size_t_offset)
zx_status_t Clone (Options * _result)