template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 2272 of file fidling/gen/sdk/fidl/fuchsia.hardware.platform.bus/fuchsia.hardware.platform.bus/cpp/fidl/fuchsia.hardware.platform.bus/cpp/wire_types.h

Public Methods

::fuchsia_hardware_platform_bus::wire::Node 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 of the node.

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

Name of the node.

bool has_vid ()
void clear_vid ()

Clears the vid field.

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

O(number_of_fields) complexity.

uint32_t & vid ()

`BIND_PLATFORM_DEV_VID`

BuilderImpl & vid (uint32_t elem)

`BIND_PLATFORM_DEV_VID`

bool has_pid ()
void clear_pid ()

Clears the pid field.

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

O(number_of_fields) complexity.

uint32_t & pid ()

`BIND_PLATFORM_DEV_PID`

BuilderImpl & pid (uint32_t elem)

`BIND_PLATFORM_DEV_PID`

bool has_did ()
void clear_did ()

Clears the did field.

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

O(number_of_fields) complexity.

uint32_t & did ()

`BIND_PLATFORM_DEV_DID`

BuilderImpl & did (uint32_t elem)

`BIND_PLATFORM_DEV_DID`

bool has_instance_id ()
void clear_instance_id ()

Clears the instance_id field.

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

O(number_of_fields) complexity.

uint32_t & instance_id ()

Instance ID. Contributes to device-name if non-zero.

`BIND_PLATFORM_DEV_INSTANCE_ID`

BuilderImpl & instance_id (uint32_t elem)

Instance ID. Contributes to device-name if non-zero.

`BIND_PLATFORM_DEV_INSTANCE_ID`

bool has_mmio ()
void clear_mmio ()

Clears the mmio field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_platform_bus::wire::Mmio> & mmio ()

MMIO regions.

BuilderImpl & mmio (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_platform_bus::wire::Mmio>>> elem)

MMIO regions.

bool has_irq ()
void clear_irq ()

Clears the irq field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_platform_bus::wire::Irq> & irq ()

Interrupts.

BuilderImpl & irq (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_platform_bus::wire::Irq>>> elem)

Interrupts.

bool has_bti ()
void clear_bti ()

Clears the bti field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_platform_bus::wire::Bti> & bti ()

BTIs.

BuilderImpl & bti (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_platform_bus::wire::Bti>>> elem)

BTIs.

bool has_smc ()
void clear_smc ()

Clears the smc field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_platform_bus::wire::Smc> & smc ()

SMC calls.

BuilderImpl & smc (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_platform_bus::wire::Smc>>> elem)

SMC calls.

bool has_metadata ()
void clear_metadata ()

Clears the metadata field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_platform_bus::wire::Metadata> & metadata ()

Metadata

BuilderImpl & metadata (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_platform_bus::wire::Metadata>>> elem)

Metadata

bool has_boot_metadata ()
void clear_boot_metadata ()

Clears the boot_metadata field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_platform_bus::wire::BootMetadata> & boot_metadata ()

Boot metadata (from ZBI items)

BuilderImpl & boot_metadata (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_platform_bus::wire::BootMetadata>>> elem)

Boot metadata (from ZBI items)

bool has_properties ()
void clear_properties ()

Clears the properties field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeProperty2> & properties ()

Other node properties beyond BIND_PLATFORM_DEV_VID, BIND_PLATFORM_DEV_PID, and BIND_PLATFORM_DEV_DID.

BuilderImpl & properties (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_driver_framework::wire::NodeProperty2>>> elem)

Other node properties beyond BIND_PLATFORM_DEV_VID, BIND_PLATFORM_DEV_PID, and BIND_PLATFORM_DEV_DID.

bool has_power_config ()
void clear_power_config ()

Clears the power_config field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_hardware_power::wire::PowerElementConfiguration> & power_config ()

Getter for power_config.

BuilderImpl & power_config (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_hardware_power::wire::PowerElementConfiguration>>> elem)

Setter for power_config.

bool has_driver_host ()
void clear_driver_host ()

Clears the driver_host field.

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

O(number_of_fields) complexity.

::fidl::StringView & driver_host ()

Getter for driver_host.

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

Setter for driver_host.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_platform_bus::wire::Node, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_platform_bus::wire::Node>> && frame)

Records