class IpAddress
Defined at line 165 of file fidling/gen/sdk/fidl/fuchsia.net/fuchsia.net/cpp/fidl/fuchsia.net/cpp/natural_types.h
Represents an IP address that may be either v4 or v6.
Public Methods
void IpAddress (IpAddress && other)
IpAddress & operator= (IpAddress && other)
void IpAddress (const IpAddress & other)
IpAddress & operator= (const IpAddress & other)
bool operator== (const IpAddress & other)
bool operator!= (const IpAddress & other)
::fuchsia_net::IpAddress::Tag Which ()
IpAddress WithIpv4 (::fuchsia_net::Ipv4Address val)
const ::fidl::internal::UnionMemberView<1, Storage_> ipv4 ()
::fidl::internal::UnionMemberView<1, Storage_> ipv4 ()
IpAddress & ipv4 (::fuchsia_net::Ipv4Address value)
Sets the union to hold the ipv4 member.
IpAddress WithIpv6 (::fuchsia_net::Ipv6Address val)
const ::fidl::internal::UnionMemberView<2, Storage_> ipv6 ()
::fidl::internal::UnionMemberView<2, Storage_> ipv6 ()
IpAddress & ipv6 (::fuchsia_net::Ipv6Address value)
Sets the union to hold the ipv6 member.
void IpAddress (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kIpv4 | 1 |
| kIpv6 | 2 |
TODO: share union tag types between wire
&
natural.
Defined at line 173 of file fidling/gen/sdk/fidl/fuchsia.net/fuchsia.net/cpp/fidl/fuchsia.net/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits