template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1991 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h

Public Methods

::fuchsia_buttons::wire::GpioButtonsMetadata Build ()

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

bool has_buttons ()
void clear_buttons ()

Clears the buttons field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_buttons::wire::GpioButtonConfig> & buttons ()

Configuration information for buttons that require gpio to function.

BuilderImpl & buttons (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_buttons::wire::GpioButtonConfig>>> elem)

Configuration information for buttons that require gpio to function.

bool has_gpios ()
void clear_gpios ()

Clears the gpios field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_buttons::wire::GpioConfig> & gpios ()

Configuration information for the gpios used by |buttons|.

BuilderImpl & gpios (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_buttons::wire::GpioConfig>>> elem)

Configuration information for the gpios used by |buttons|.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_buttons::wire::GpioButtonsMetadata, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_buttons::wire::GpioButtonsMetadata>> && frame)

Records