template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 3291 of file fidling/gen/sdk/fidl/fuchsia.component/fuchsia.component/cpp/fidl/fuchsia.component/cpp/wire_types.h

Public Methods

::fuchsia_component::wire::Event Build ()

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

bool has_header ()
void clear_header ()

Clears the header field.

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

O(number_of_fields) complexity.

::fuchsia_component::wire::EventHeader & header ()

Information about the component for which this event was generated.

BuilderImpl & header (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_component::wire::EventHeader>> elem)

Information about the component for which this event was generated.

bool has_payload ()
void clear_payload ()

Clears the payload field.

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

O(number_of_fields) complexity.

::fuchsia_component::wire::EventPayload & payload ()

Optional payload for some event types

BuilderImpl & payload (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_component::wire::EventPayload>> elem)

Optional payload for some event types

Protected Methods

void WireTableBaseBuilder< ::fuchsia_component::wire::Event, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_component::wire::Event>> && frame)

Records