template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 385 of file fidling/gen/sdk/fidl/fuchsia.ebpf/fuchsia.ebpf/cpp/fidl/fuchsia.ebpf/cpp/wire_types.h

Public Methods

::fuchsia_ebpf::wire::VerifiedProgram Build ()

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

bool has_code ()
void clear_code ()

Clears the code field.

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

O(number_of_fields) complexity.

::fidl::VectorView<uint64_t> & code ()

Program instructions.

BuilderImpl & code (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint64_t>>> elem)

Program instructions.

bool has_struct_access_instructions ()
void clear_struct_access_instructions ()

Clears the struct_access_instructions field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_ebpf::wire::StructAccess> & struct_access_instructions ()

List of instructions accessing struct fields.

BuilderImpl & struct_access_instructions (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_ebpf::wire::StructAccess>>> elem)

List of instructions accessing struct fields.

bool has_maps ()
void clear_maps ()

Clears the maps field.

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

O(number_of_fields) complexity.

::fidl::VectorView< ::fuchsia_ebpf::wire::Map> & maps ()

List of the maps used by the program. `code` may reference these maps

by their index in this array.

BuilderImpl & maps (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_ebpf::wire::Map>>> elem)

List of the maps used by the program. `code` may reference these maps

by their index in this array.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_ebpf::wire::VerifiedProgram, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ebpf::wire::VerifiedProgram>> && frame)

Records