template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_ebpf::wire::Map Build ()

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

bool has_schema ()
void clear_schema ()

Clears the schema field.

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

O(number_of_fields) complexity.

::fuchsia_ebpf::wire::MapSchema & schema ()

Map schema.

BuilderImpl & schema (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_ebpf::wire::MapSchema>> elem)

Map schema.

bool has_vmo ()
void clear_vmo ()

Clears the vmo field.

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

O(number_of_fields) complexity.

::zx::vmo & vmo ()

VMO used to store the map data. The layout of the data stored in the

VMO depends on the `schema` as defined in the `ebpf_api` create.

BuilderImpl & vmo (::zx::vmo elem)

VMO used to store the map data. The layout of the data stored in the

VMO depends on the `schema` as defined in the `ebpf_api` create.

Protected Methods

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

Records