HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_IpAddressV6 Class Reference

This represents a Ipv6 address. More...

#include <UT_IpAddress.h>

Public Types

using bytes_t = UT_FixedArray< uint8, 16 >
 

Public Member Functions

 UT_IpAddressV6 ()
 
 UT_IpAddressV6 (const bytes_t &addr)
 
bool operator== (const UT_IpAddressV6 &other) const
 
bool operator!= (const UT_IpAddressV6 &other) const
 
bool operator< (const UT_IpAddressV6 &other) const
 
bool operator> (const UT_IpAddressV6 &other) const
 
bool operator<= (const UT_IpAddressV6 &other) const
 
bool operator>= (const UT_IpAddressV6 &other) const
 
SYS_NO_DISCARD_RESULT bool isLoopback () const
 
SYS_NO_DISCARD_RESULT bool isUnspecified () const
 
SYS_NO_DISCARD_RESULT bool isV4Mapped () const
 
SYS_NO_DISCARD_RESULT bool isLinkLocal () const
 
SYS_NO_DISCARD_RESULT bool isSiteLocal () const
 
SYS_NO_DISCARD_RESULT bool isMulticast () const
 
SYS_NO_DISCARD_RESULT const
bytes_t
toBytes () const
 
SYS_NO_DISCARD_RESULT
UT_StringHolder 
toString () const
 
SYS_NO_DISCARD_RESULT
UT_IpAddressV4 
toV4 () const
 

Static Public Member Functions

static SYS_NO_DISCARD_RESULT
UT_IpAddressV6 
loopback ()
 
static SYS_NO_DISCARD_RESULT
UT_IpAddressV6 
fromString (const UT_StringRef &str)
 

Detailed Description

This represents a Ipv6 address.

Definition at line 137 of file UT_IpAddress.h.

Member Typedef Documentation

Definition at line 140 of file UT_IpAddress.h.

Constructor & Destructor Documentation

UT_IpAddressV6::UT_IpAddressV6 ( )
inline

Definition at line 142 of file UT_IpAddress.h.

UT_IpAddressV6::UT_IpAddressV6 ( const bytes_t addr)
inlineexplicit

Definition at line 143 of file UT_IpAddress.h.

Member Function Documentation

static SYS_NO_DISCARD_RESULT UT_IpAddressV6 UT_IpAddressV6::fromString ( const UT_StringRef str)
static
SYS_NO_DISCARD_RESULT bool UT_IpAddressV6::isLinkLocal ( ) const
inline

Definition at line 196 of file UT_IpAddress.h.

SYS_NO_DISCARD_RESULT bool UT_IpAddressV6::isLoopback ( ) const
inline

Definition at line 170 of file UT_IpAddress.h.

SYS_NO_DISCARD_RESULT bool UT_IpAddressV6::isMulticast ( ) const
inline

Definition at line 204 of file UT_IpAddress.h.

SYS_NO_DISCARD_RESULT bool UT_IpAddressV6::isSiteLocal ( ) const
inline

Definition at line 200 of file UT_IpAddress.h.

SYS_NO_DISCARD_RESULT bool UT_IpAddressV6::isUnspecified ( ) const
inline

Definition at line 179 of file UT_IpAddress.h.

SYS_NO_DISCARD_RESULT bool UT_IpAddressV6::isV4Mapped ( ) const
inline

Definition at line 188 of file UT_IpAddress.h.

static SYS_NO_DISCARD_RESULT UT_IpAddressV6 UT_IpAddressV6::loopback ( )
inlinestatic

Definition at line 208 of file UT_IpAddress.h.

bool UT_IpAddressV6::operator!= ( const UT_IpAddressV6 other) const
inline

Definition at line 149 of file UT_IpAddress.h.

bool UT_IpAddressV6::operator< ( const UT_IpAddressV6 other) const
inline

Definition at line 153 of file UT_IpAddress.h.

bool UT_IpAddressV6::operator<= ( const UT_IpAddressV6 other) const
inline

Definition at line 161 of file UT_IpAddress.h.

bool UT_IpAddressV6::operator== ( const UT_IpAddressV6 other) const
inline

Definition at line 145 of file UT_IpAddress.h.

bool UT_IpAddressV6::operator> ( const UT_IpAddressV6 other) const
inline

Definition at line 157 of file UT_IpAddress.h.

bool UT_IpAddressV6::operator>= ( const UT_IpAddressV6 other) const
inline

Definition at line 165 of file UT_IpAddress.h.

SYS_NO_DISCARD_RESULT const bytes_t& UT_IpAddressV6::toBytes ( ) const
inline

Definition at line 213 of file UT_IpAddress.h.

SYS_NO_DISCARD_RESULT UT_StringHolder UT_IpAddressV6::toString ( ) const
SYS_NO_DISCARD_RESULT UT_IpAddressV4 UT_IpAddressV6::toV4 ( ) const
inline

Definition at line 218 of file UT_IpAddress.h.


The documentation for this class was generated from the following file: