class Options

Defined at line 5300 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 5308 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_attributes ()

Defined at line 5312 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 5318 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_attributes ()

Defined at line 5326 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 5337 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

bool has_create_attributes ()

Defined at line 5341 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 5348 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/hlcpp/fuchsia/io/cpp/fidl.h

void clear_create_attributes ()

Defined at line 5356 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)