class Interface
Defined at line 194 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
A matcher for network interfaces.
Public Members
static const fidl_type_t * FidlType
Public Methods
void Interface ()
void Interface (Interface && )
Interface WithId (uint64_t && )
Interface WithName (::std::string && )
Interface WithPortClass (::fuchsia::net::interfaces::PortClass && )
::std::unique_ptr<Interface> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Interface * value, size_t offset)
zx_status_t Clone (Interface * result)
Interface & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
bool has_invalid_tag ()
Defined at line 224 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
bool is_id ()
Defined at line 228 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
uint64_t & id ()
The ID of the interface as assigned by the netstack.
Defined at line 231 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
const uint64_t & id ()
The ID of the interface as assigned by the netstack.
Defined at line 237 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
bool is_name ()
Defined at line 243 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
::std::string & name ()
The name of the interface.
Defined at line 246 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
const ::std::string & name ()
The name of the interface.
Defined at line 252 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
bool is_port_class ()
Defined at line 258 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
Interface & operator= (Interface && )
::fuchsia::net::interfaces::PortClass & port_class ()
The port class of the interface.
Defined at line 261 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
const ::fuchsia::net::interfaces::PortClass & port_class ()
The port class of the interface.
Defined at line 267 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
::fuchsia::net::matchers::Interface::Tag Which ()
Defined at line 274 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 288 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 291 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
void ~Interface ()
Interface & set_id (uint64_t value)
Interface & set_name (::std::string value)
Interface & set_port_class (::fuchsia::net::interfaces::PortClass value)
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnknown | 0 |
| kId | 1 |
| kName | 2 |
| kPortClass | 3 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 208 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/hlcpp/fuchsia/net/matchers/cpp/fidl.h
Friends
class Equality