template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 511 of file fidling/gen/sdk/fidl/fuchsia.hardware.registers/fuchsia.hardware.registers/cpp/fidl/fuchsia.hardware.registers/cpp/wire_types.h

Public Methods

::fuchsia_hardware_registers::wire::RegistersMetadataEntry Build ()

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

bool has_name ()
void clear_name ()

Clears the name field.

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

O(number_of_fields) complexity.

::fidl::StringView & name ()

Name for binding purposes (BIND_REGISTER_NAME device property).

BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

Name for binding purposes (BIND_REGISTER_NAME device property).

bool has_mmio_id ()
void clear_mmio_id ()

Clears the mmio_id field.

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

O(number_of_fields) complexity.

uint32_t & mmio_id ()

MMIO ID for MMIO corresponding to register.

BuilderImpl & mmio_id (uint32_t elem)

MMIO ID for MMIO corresponding to register.

bool has_masks ()
void clear_masks ()

Clears the masks field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_registers::wire::MaskEntry> & masks ()

A run length encoded list of masks.

Should be in order starting from base address. Masks should all be of the same type.

BuilderImpl & masks (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_registers::wire::MaskEntry>>> elem)

A run length encoded list of masks.

Should be in order starting from base address. Masks should all be of the same type.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_registers::wire::RegistersMetadataEntry, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_registers::wire::RegistersMetadataEntry>> && frame)

Records