template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 230 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::SubTargetInfo Build ()
Build and return the table. The builder should not be used after this.
bool has_address ()
void clear_address ()
Clears the address field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint16_t & address ()
The SPMI base register address. Accesses to this sub-target will be restricted to the range
[0, `size`) and offset by `address`. Required.
BuilderImpl & address (uint16_t elem)
The SPMI base register address. Accesses to this sub-target will be restricted to the range
[0, `size`) and offset by `address`. Required.
bool has_size ()
void clear_size ()
Clears the size field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & size ()
The size of the SPMI register region accessible to this sub-target. The sum of `address` and
`size` must be less than or equal to 65536. Required.
BuilderImpl & size (uint32_t elem)
The size of the SPMI register region accessible to this sub-target. The sum of `address` and
`size` must be less than or equal to 65536. Required.
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 sub-target to be used for bind properties. Optional.
BuilderImpl & name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
The name of this sub-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 sub-target. Optional.
BuilderImpl & display_name (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
A human-readable name for this sub-target. Optional.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_hardware_spmi::wire::SubTargetInfo, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_spmi::wire::SubTargetInfo>> && frame)