IpAddress Class Reference
A class to make it easier to handle and pass around IP addresses. More...
#include <IpAddress.h>
Inheritance diagram for IpAddress:
Collaboration diagram for IpAddress:
Public Member Functions | |
| IpAddress () | |
| IpAddress (uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet) | |
| IpAddress (uint32_t address) | |
| IpAddress (ip_addr address) | |
| IpAddress (const uint8_t *address) | |
| IpAddress (const String &address) | |
| operator uint32_t () const | |
| operator ip_addr () const | |
| operator ip_addr * () | |
| bool | operator== (const IpAddress &addr) const |
| bool | operator== (const uint8_t *addr) const |
| bool | operator!= (const IpAddress &addr) const |
| bool | operator!= (const uint8_t *addr) const |
| bool | isNull () const |
| String | toString () const |
| bool | compare (const IpAddress &addr, const IpAddress &mask) const |
| uint8_t | operator[] (int index) const |
| uint8_t & | operator[] (int index) |
| IpAddress & | operator= (const uint8_t *address) |
| IpAddress & | operator= (uint32_t address) |
| IpAddress & | operator= (const String address) |
| size_t | printTo (Print &p) const override |
Detailed Description
A class to make it easier to handle and pass around IP addresses.
Constructor & Destructor Documentation
◆ IpAddress() [1/6]
|
inline |
◆ IpAddress() [2/6]
|
inline |
◆ IpAddress() [3/6]
|
inline |
◆ IpAddress() [4/6]
|
inline |
◆ IpAddress() [5/6]
|
inline |
◆ IpAddress() [6/6]
|
inline |
Member Function Documentation
◆ compare()
◆ isNull()
|
inline |
◆ operator ip_addr()
|
inline |
◆ operator ip_addr *()
|
inline |
◆ operator uint32_t()
|
inline |
◆ operator!=() [1/2]
◆ operator!=() [2/2]
|
inline |
◆ operator=() [1/3]
|
inline |
◆ operator=() [2/3]
|
inline |
◆ operator=() [3/3]
◆ operator==() [1/2]
◆ operator==() [2/2]
|
inline |
◆ operator[]() [1/2]
|
inline |
◆ operator[]() [2/2]
|
inline |
◆ printTo()
◆ toString()
| String IpAddress::toString | ( | ) | const |
The documentation for this class was generated from the following file:
1.8.13