template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_hardware_spmi::wire::TargetInfo Build ()

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

bool has_id ()
void clear_id ()

Clears the id field.

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

O(number_of_fields) complexity.

uint8_t & id ()

SPMI target ID in [0, `MAX_TARGETS`), unique for this controller. Required.

BuilderImpl & id (uint8_t elem)

SPMI target ID in [0, `MAX_TARGETS`), unique for this controller. Required.

bool has_sub_targets ()
void clear_sub_targets ()

Clears the sub_targets field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_spmi::wire::SubTargetInfo> & sub_targets ()

Sub-target register regions within this target. Optional.

BuilderImpl & sub_targets (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_spmi::wire::SubTargetInfo>>> elem)

Sub-target register regions within this target. Optional.

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 ()

The name of this target to be used for bind properties. Optional.

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

The name of this target to be used for bind properties. Optional.

bool has_display_name ()
void clear_display_name ()

Clears the display_name field.

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

O(number_of_fields) complexity.

::fidl::StringView & display_name ()

A human-readable name for this target. Optional.

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

A human-readable name for this target. Optional.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_spmi::wire::TargetInfo, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_spmi::wire::TargetInfo>> && frame)

Records