template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 2857 of file fidling/gen/sdk/fidl/fuchsia.net.routes/fuchsia.net.routes/cpp/fidl/fuchsia.net.routes/cpp/wire_types.h

Public Methods

::fuchsia_net_routes::wire::RuleMatcherV4 Build ()

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

bool has_from ()
void clear_from ()

Clears the from field.

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

O(number_of_fields) complexity.

::fuchsia_net::wire::Ipv4AddressWithPrefix & from ()

Matches whether the source address of the packet is from the subnet.

BuilderImpl & from (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_net::wire::Ipv4AddressWithPrefix>> elem)

Matches whether the source address of the packet is from the subnet.

bool has_base ()
void clear_base ()

Clears the base field.

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

O(number_of_fields) complexity.

::fuchsia_net_routes::wire::BaseMatcher & base ()

The rest of the matcher that is common between IP versions.

Interpreted as an empty table if absent.

BuilderImpl & base (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_net_routes::wire::BaseMatcher>> elem)

The rest of the matcher that is common between IP versions.

Interpreted as an empty table if absent.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_net_routes::wire::RuleMatcherV4, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_routes::wire::RuleMatcherV4>> && frame)

Records