class IpAddress

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

Represents an IP address that may be either v4 or v6.

Public Members

static const fidl_type_t * FidlType

Public Methods

void IpAddress ()
void ~IpAddress ()
void IpAddress (IpAddress && )
IpAddress & operator= (IpAddress && )
IpAddress WithIpv4 (::fuchsia::net::Ipv4Address && )
IpAddress WithIpv6 (::fuchsia::net::Ipv6Address && )
::std::unique_ptr<IpAddress> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, IpAddress * value, size_t offset)
zx_status_t Clone (IpAddress * result)
bool has_invalid_tag ()

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

bool is_ipv4 ()

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

::fuchsia::net::Ipv4Address & ipv4 ()

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

const ::fuchsia::net::Ipv4Address & ipv4 ()

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

bool is_ipv6 ()

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

::fuchsia::net::Ipv6Address & ipv6 ()

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

const ::fuchsia::net::Ipv6Address & ipv6 ()

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

::fuchsia::net::IpAddress::Tag Which ()

Defined at line 177 of file fidling/gen/sdk/fidl/fuchsia.net/fuchsia.net/hlcpp/fuchsia/net/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 183 of file fidling/gen/sdk/fidl/fuchsia.net/fuchsia.net/hlcpp/fuchsia/net/cpp/fidl.h

IpAddress & set_ipv4 (::fuchsia::net::Ipv4Address value)
IpAddress & set_ipv6 (::fuchsia::net::Ipv6Address value)

Enumerations

enum Tag
Name Value
kIpv4 1
kIpv6 2
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

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

Friends

class Equality