class Options

Defined at line 1690 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.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 Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_io::wire::Options> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_io::wire::Options> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::Options>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::Options>> && frame_ptr)
void Options ()

Defined at line 1692 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h

void Options (Options && other)

Defined at line 1695 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h

::fuchsia_io::wire::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.

bool has_attributes ()
bool has_create_attributes ()
Options & operator= (const Options & other)

Defined at line 1694 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h

Options & operator= (Options && other)

Defined at line 1696 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h

Options & set_attributes (::fidl::ObjectView< ::fuchsia_io::wire::NodeAttributesQuery> elem)
Options & set_attributes (std::nullptr_t )
Options & clear_attributes ()
Options & set_create_attributes (::fidl::ObjectView< ::fuchsia_io::wire::MutableNodeAttributes> elem)
Options & set_create_attributes (std::nullptr_t )
Options & clear_create_attributes ()
void Options (::fidl::AnyArena & allocator)
void Options (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::Options>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void Options (const Options & other)

Defined at line 1693 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h

::fuchsia_io::wire::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).

void ~Options ()

Defined at line 1698 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder