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

#include <UT_IpAddress.h>

Public Types

using address_t = UT_IpAddressV6
 

Public Member Functions

 UT_IpNetworkV6 ()
 
 UT_IpNetworkV6 (const address_t &address, uint32_t prefix_length)
 
 UT_IpNetworkV6 (const UT_IpNetworkV6 &other)
 
UT_IpNetworkV6operator= (const UT_IpNetworkV6 &other)
 
bool operator== (const UT_IpNetworkV6 &net) const
 
bool operator!= (const UT_IpNetworkV6 &net) const
 
SYS_NO_DISCARD_RESULT address_t network () const
 
SYS_NO_DISCARD_RESULT const
address_t
address () const
 
SYS_NO_DISCARD_RESULT
UT_IpNetworkV6 
canonical () const
 
SYS_NO_DISCARD_RESULT uint32_t prefixLength () const
 
SYS_NO_DISCARD_RESULT bool isHost () const
 
SYS_NO_DISCARD_RESULT bool isSubnetOf (const UT_IpNetworkV6 &net) const
 
SYS_NO_DISCARD_RESULT
UT_StringHolder 
toString () const
 

Static Public Member Functions

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

Static Public Attributes

static constexpr uint32_t host_address_len = 128
 

Detailed Description

Definition at line 453 of file UT_IpAddress.h.

Member Typedef Documentation

Definition at line 456 of file UT_IpAddress.h.

Constructor & Destructor Documentation

UT_IpNetworkV6::UT_IpNetworkV6 ( )
inline

Definition at line 459 of file UT_IpAddress.h.

UT_IpNetworkV6::UT_IpNetworkV6 ( const address_t address,
uint32_t  prefix_length 
)
inline

Definition at line 463 of file UT_IpAddress.h.

UT_IpNetworkV6::UT_IpNetworkV6 ( const UT_IpNetworkV6 other)
inline

Definition at line 468 of file UT_IpAddress.h.

Member Function Documentation

SYS_NO_DISCARD_RESULT const address_t& UT_IpNetworkV6::address ( ) const
inline

Definition at line 489 of file UT_IpAddress.h.

SYS_NO_DISCARD_RESULT UT_IpNetworkV6 UT_IpNetworkV6::canonical ( ) const
inline

Definition at line 493 of file UT_IpAddress.h.

static SYS_NO_DISCARD_RESULT UT_IpNetworkV6 UT_IpNetworkV6::fromString ( const UT_StringRef str)
static
SYS_NO_DISCARD_RESULT bool UT_IpNetworkV6::isHost ( ) const
inline

Definition at line 498 of file UT_IpAddress.h.

SYS_NO_DISCARD_RESULT bool UT_IpNetworkV6::isSubnetOf ( const UT_IpNetworkV6 net) const
static SYS_NO_DISCARD_RESULT UT_IpNetworkV6 UT_IpNetworkV6::loopback ( )
inlinestatic

Definition at line 506 of file UT_IpAddress.h.

SYS_NO_DISCARD_RESULT address_t UT_IpNetworkV6::network ( ) const
bool UT_IpNetworkV6::operator!= ( const UT_IpNetworkV6 net) const
inline

Definition at line 484 of file UT_IpAddress.h.

UT_IpNetworkV6& UT_IpNetworkV6::operator= ( const UT_IpNetworkV6 other)
inline

Definition at line 473 of file UT_IpAddress.h.

bool UT_IpNetworkV6::operator== ( const UT_IpNetworkV6 net) const
inline

Definition at line 479 of file UT_IpAddress.h.

SYS_NO_DISCARD_RESULT uint32_t UT_IpNetworkV6::prefixLength ( ) const
inline

Definition at line 497 of file UT_IpAddress.h.

SYS_NO_DISCARD_RESULT UT_StringHolder UT_IpNetworkV6::toString ( ) const
inline

Definition at line 500 of file UT_IpAddress.h.

Member Data Documentation

constexpr uint32_t UT_IpNetworkV6::host_address_len = 128
static

Definition at line 457 of file UT_IpAddress.h.


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