HDK
|
This represents a Ipv4 address. More...
#include <UT_IpAddress.h>
Public Types | |
using | bytes_t = UT_FixedArray< uint8, 4 > |
Public Member Functions | |
UT_IpAddressV4 () | |
UT_IpAddressV4 (uint32_t addr) | |
UT_IpAddressV4 (const bytes_t &addr) | |
UT_IpAddressV4 (unsigned char i0, unsigned char i1, unsigned char i2, unsigned char i3) | |
UT_IpAddressV4 (const UT_IpAddressV4 &addr) | |
UT_IpAddressV4 & | operator= (const UT_IpAddressV4 &addr) |
bool | operator== (const UT_IpAddressV4 &other) const |
bool | operator!= (const UT_IpAddressV4 &other) const |
bool | operator< (const UT_IpAddressV4 &other) const |
bool | operator> (const UT_IpAddressV4 &other) const |
bool | operator<= (const UT_IpAddressV4 &other) const |
bool | operator>= (const UT_IpAddressV4 &other) const |
SYS_NO_DISCARD_RESULT bool | isUnspecified () const |
SYS_NO_DISCARD_RESULT bool | isLoopback () const |
SYS_NO_DISCARD_RESULT bool | isMulticast () const |
SYS_NO_DISCARD_RESULT const bytes_t | toBytes () const |
SYS_NO_DISCARD_RESULT uint32_t | toUInt () const |
SYS_NO_DISCARD_RESULT UT_StringHolder | toString () const |
Static Public Member Functions | |
static SYS_NO_DISCARD_RESULT UT_IpAddressV4 | fromString (const UT_StringRef &str) |
static SYS_NO_DISCARD_RESULT UT_IpAddressV4 | any () |
static SYS_NO_DISCARD_RESULT UT_IpAddressV4 | loopback () |
static SYS_NO_DISCARD_RESULT UT_IpAddressV4 | broadcast () |
static SYS_NO_DISCARD_RESULT uint32_t | networkToHost (uint32_t v) |
static SYS_NO_DISCARD_RESULT uint32_t | hostToNetwork (uint32_t v) |
This represents a Ipv4 address.
Definition at line 34 of file UT_IpAddress.h.
using UT_IpAddressV4::bytes_t = UT_FixedArray<uint8, 4> |
Definition at line 37 of file UT_IpAddress.h.
|
inline |
Definition at line 39 of file UT_IpAddress.h.
|
inlineexplicit |
Definition at line 41 of file UT_IpAddress.h.
|
inlineexplicit |
Definition at line 42 of file UT_IpAddress.h.
|
inline |
Definition at line 46 of file UT_IpAddress.h.
|
inline |
Definition at line 54 of file UT_IpAddress.h.
|
inlinestatic |
Definition at line 113 of file UT_IpAddress.h.
|
inlinestatic |
Definition at line 121 of file UT_IpAddress.h.
|
static |
|
static |
|
inline |
Definition at line 92 of file UT_IpAddress.h.
|
inline |
Definition at line 96 of file UT_IpAddress.h.
|
inline |
Definition at line 88 of file UT_IpAddress.h.
|
inlinestatic |
Definition at line 117 of file UT_IpAddress.h.
|
static |
|
inline |
Definition at line 67 of file UT_IpAddress.h.
|
inline |
Definition at line 71 of file UT_IpAddress.h.
|
inline |
Definition at line 79 of file UT_IpAddress.h.
|
inline |
Definition at line 57 of file UT_IpAddress.h.
|
inline |
Definition at line 63 of file UT_IpAddress.h.
|
inline |
Definition at line 75 of file UT_IpAddress.h.
|
inline |
Definition at line 83 of file UT_IpAddress.h.
|
inline |
Definition at line 100 of file UT_IpAddress.h.
SYS_NO_DISCARD_RESULT UT_StringHolder UT_IpAddressV4::toString | ( | ) | const |
SYS_NO_DISCARD_RESULT uint32_t UT_IpAddressV4::toUInt | ( | ) | const |