class RuleAction

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

Actions of a rule if the matcher matches.

Public Members

static const fidl_type_t * FidlType

Public Methods

void RuleAction ()
void ~RuleAction ()
void RuleAction (RuleAction && )
RuleAction & operator= (RuleAction && )
RuleAction WithLookup (uint32_t && )
RuleAction WithUnreachable (::fuchsia::net::routes::Unreachable && )
::std::unique_ptr<RuleAction> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, RuleAction * value, size_t offset)
zx_status_t Clone (RuleAction * result)
bool has_invalid_tag ()

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

bool is_lookup ()

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

uint32_t & lookup ()

Look for a route in the indicated route table. If there is no matching

route in the target table, the lookup will continue to consider the

next rule.

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

const uint32_t & lookup ()

Look for a route in the indicated route table. If there is no matching

route in the target table, the lookup will continue to consider the

next rule.

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

bool is_unreachable ()

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

RuleAction & set_lookup (uint32_t value)
RuleAction & set_unreachable (::fuchsia::net::routes::Unreachable value)
RuleAction & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fuchsia::net::routes::Unreachable & unreachable ()

Return network is unreachable. This is contrary to if a `lookup` table

is empty or no matching routes, this decision is terminal and stops

the lookup process from continuing.

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

const ::fuchsia::net::routes::Unreachable & unreachable ()

Return network is unreachable. This is contrary to if a `lookup` table

is empty or no matching routes, this decision is terminal and stops

the lookup process from continuing.

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

::fuchsia::net::routes::RuleAction::Tag Which ()

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

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

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

const std::vector<uint8_t> * UnknownBytes ()

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

Enumerations

enum Tag
Name Value
kUnknown 0
kLookup 1
kUnreachable 2
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

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

Friends

class Equality