template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_hardware_platform_device::wire::NodeDeviceInfo Build ()

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

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

Vendor ID, specified in //zircon/system/ulib/ddk-platform-defs/include/lib/ddk/platform-defs.h

BuilderImpl & vid (uint32_t elem)

Vendor ID, specified in //zircon/system/ulib/ddk-platform-defs/include/lib/ddk/platform-defs.h

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

Platform ID, specified in //zircon/system/ulib/ddk-platform-defs/include/lib/ddk/platform-defs.h

BuilderImpl & pid (uint32_t elem)

Platform ID, specified in //zircon/system/ulib/ddk-platform-defs/include/lib/ddk/platform-defs.h

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

Device ID, specified in //zircon/system/ulib/ddk-platform-defs/include/lib/ddk/platform-defs.h

BuilderImpl & did (uint32_t elem)

Device ID, specified in //zircon/system/ulib/ddk-platform-defs/include/lib/ddk/platform-defs.h

bool has_mmio_count ()
void clear_mmio_count ()

Clears the mmio_count field.

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

O(number_of_fields) complexity.

uint32_t & mmio_count ()

The number of MMIO regions provided to this device.

BuilderImpl & mmio_count (uint32_t elem)

The number of MMIO regions provided to this device.

bool has_irq_count ()
void clear_irq_count ()

Clears the irq_count field.

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

O(number_of_fields) complexity.

uint32_t & irq_count ()

The number of interrupts provided to this device.

BuilderImpl & irq_count (uint32_t elem)

The number of interrupts provided to this device.

bool has_bti_count ()
void clear_bti_count ()

Clears the bti_count field.

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

O(number_of_fields) complexity.

uint32_t & bti_count ()

The number of bus transaction initiaitors provided to this device.

BuilderImpl & bti_count (uint32_t elem)

The number of bus transaction initiaitors provided to this device.

bool has_smc_count ()
void clear_smc_count ()

Clears the smc_count field.

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

O(number_of_fields) complexity.

uint32_t & smc_count ()

The number of secure monitor call resources provided to this device.

BuilderImpl & smc_count (uint32_t elem)

The number of secure monitor call resources provided to this device.

bool has_metadata_count ()
void clear_metadata_count ()

Clears the metadata_count field.

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

O(number_of_fields) complexity.

uint32_t & metadata_count ()

The number of metadata blobs associated provided this device.

BuilderImpl & metadata_count (uint32_t elem)

The number of metadata blobs associated provided this device.

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 the board driver provided for this device.

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

The name the board driver provided for this device.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_hardware_platform_device::wire::NodeDeviceInfo, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_platform_device::wire::NodeDeviceInfo>> && frame)

Records