template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_io::wire::FileInfo Build ()

Build and return the table. The builder should not be used after this.

bool has_is_append ()
void clear_is_append ()

Clears the is_append field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

bool & is_append ()

True if the file is opened in append mode.

In append mode, the seek offset is moved to the end before every

write, the two steps performed in an atomic manner.

BuilderImpl & is_append (bool elem)

True if the file is opened in append mode.

In append mode, the seek offset is moved to the end before every

write, the two steps performed in an atomic manner.

bool has_observer ()
void clear_observer ()

Clears the observer field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::zx::event & observer ()

An optional event which transmits information about an object's

readability or writability. This event relays information about the

underlying object, not the capability granted to client: this event

may be signalled "readable" on a connection that does not have

the capability to read.

This event will be present if the following conditions are met:

- The `available_operations` on the file connection is not empty.

- The filesystem supports signalling readability/writability events.

The [`FileSignal`] values may be observed on this event.

BuilderImpl & observer (::zx::event elem)

An optional event which transmits information about an object's

readability or writability. This event relays information about the

underlying object, not the capability granted to client: this event

may be signalled "readable" on a connection that does not have

the capability to read.

This event will be present if the following conditions are met:

- The `available_operations` on the file connection is not empty.

- The filesystem supports signalling readability/writability events.

The [`FileSignal`] values may be observed on this event.

bool has_stream ()
void clear_stream ()

Clears the stream field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::zx::stream & stream ()

An optional stream object, which can be used to read to and write from

the file.

Reading and writing the file using the stream object can be up to 20x

faster than reading and writing the file using the Read and Write

operations in the [`File`] protocol.

BuilderImpl & stream (::zx::stream elem)

An optional stream object, which can be used to read to and write from

the file.

Reading and writing the file using the stream object can be up to 20x

faster than reading and writing the file using the Read and Write

operations in the [`File`] protocol.

bool has_attributes ()
void clear_attributes ()

Clears the attributes field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fuchsia_io::wire::NodeAttributes2 & attributes ()

Requested attributes for the file. This is only populated if requested.

BuilderImpl & attributes (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_io::wire::NodeAttributes2>> elem)

Requested attributes for the file. This is only populated if requested.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_io::wire::FileInfo, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_io::wire::FileInfo>> && frame)

Records