class BoundPort
Defined at line 1353 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
A matcher for transport-layer port numbers that might be unbound.
Public Members
static const fidl_type_t * FidlType
Public Methods
void BoundPort ()
void ~BoundPort ()
void BoundPort (BoundPort && )
BoundPort & operator= (BoundPort && )
BoundPort WithBound (::fuchsia::net::matchers::Port && )
BoundPort WithUnbound (::fuchsia::net::matchers::Empty && )
::std::unique_ptr<BoundPort> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, BoundPort * value, size_t offset)
zx_status_t Clone (BoundPort * result)
bool has_invalid_tag ()
Defined at line 1381 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
bool is_bound ()
Defined at line 1385 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
::fuchsia::net::matchers::Port & bound ()
Matches iff the port is bound and matches (see [`Port`] for matching
criteria).
Defined at line 1389 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
const ::fuchsia::net::matchers::Port & bound ()
Matches iff the port is bound and matches (see [`Port`] for matching
criteria).
Defined at line 1396 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
bool is_unbound ()
Defined at line 1402 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
BoundPort & set_bound (::fuchsia::net::matchers::Port value)
BoundPort & set_unbound (::fuchsia::net::matchers::Empty value)
BoundPort & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fuchsia::net::matchers::Empty & unbound ()
Matches iff the port is unbound.
Defined at line 1405 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
const ::fuchsia::net::matchers::Empty & unbound ()
Matches iff the port is unbound.
Defined at line 1411 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
::fuchsia::net::matchers::BoundPort::Tag Which ()
Defined at line 1418 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/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 1431 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
const std::vector<uint8_t> * UnknownBytes ()
Defined at line 1434 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnknown | 0 |
| kBound | 1 |
| kUnbound | 2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 1366 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
Friends
class Equality