template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 4389 of file fidling/gen/sdk/fidl/fuchsia.audio.device/fuchsia.audio.device/cpp/fidl/fuchsia.audio.device/cpp/wire_types.h

Public Methods

::fuchsia_audio_device::wire::PcmFormatSet Build ()

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

bool has_channel_sets ()
void clear_channel_sets ()

Clears the channel_sets field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_audio_device::wire::ChannelSet> & channel_sets ()

The number of channel sets that the device supports. This must contain

at least one `ChannelSet` entry.

Required.

BuilderImpl & channel_sets (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_audio_device::wire::ChannelSet>>> elem)

The number of channel sets that the device supports. This must contain

at least one `ChannelSet` entry.

Required.

bool has_sample_types ()
void clear_sample_types ()

Clears the sample_types field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_audio::wire::SampleType> & sample_types ()

The number of sample formats that the device supports. This must

contain least one `AudioSampleFormat` entry.

Required.

BuilderImpl & sample_types (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_audio::wire::SampleType>>> elem)

The number of sample formats that the device supports. This must

contain least one `AudioSampleFormat` entry.

Required.

bool has_frame_rates ()
void clear_frame_rates ()

Clears the frame_rates field.

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

O(number_of_fields) complexity.

::fidl::VectorView<uint32_t> & frame_rates ()

The number of frame rates that the device supports. This must contain at

least one frame rate entry.

Required.

BuilderImpl & frame_rates (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint32_t>>> elem)

The number of frame rates that the device supports. This must contain at

least one frame rate entry.

Required.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_audio_device::wire::PcmFormatSet, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_audio_device::wire::PcmFormatSet>> && frame)

Records