#include <IPAddress.h>
Public Member Functions | |
bool | fromString (const char *address) |
bool | fromString (const String &address) |
IPAddress () | |
IPAddress (uint8_t first_octet, uint8_t second_octet, uint8_t third_octet, uint8_t fourth_octet) | |
IPAddress (uint32_t address) | |
IPAddress (const uint8_t *address) | |
operator uint32_t () const | |
IPAddress & | operator= (const uint8_t *address) |
IPAddress & | operator= (uint32_t address) |
bool | operator== (const IPAddress &addr) const |
bool | operator== (const uint8_t *addr) const |
uint8_t | operator[] (int index) const |
uint8_t & | operator[] (int index) |
virtual size_t | printTo (Print &p) const |
Private Member Functions | |
uint8_t * | raw_address () |
Private Attributes | |
union { | |
uint8_t bytes [4] | |
uint32_t dword | |
} | _address |
Friends | |
class | Client |
class | DhcpClass |
class | DNSClient |
class | EthernetClass |
class | Server |
class | UDP |
Definition at line 29 of file IPAddress.h.
IPAddress::IPAddress | ( | ) |
Definition at line 23 of file IPAddress.cpp.
IPAddress::IPAddress | ( | uint8_t | first_octet, |
uint8_t | second_octet, | ||
uint8_t | third_octet, | ||
uint8_t | fourth_octet | ||
) |
Definition at line 28 of file IPAddress.cpp.
IPAddress::IPAddress | ( | uint32_t | address | ) |
Definition at line 36 of file IPAddress.cpp.
IPAddress::IPAddress | ( | const uint8_t * | address | ) |
Definition at line 41 of file IPAddress.cpp.
bool IPAddress::fromString | ( | const char * | address | ) |
Definition at line 46 of file IPAddress.cpp.
|
inline |
Definition at line 50 of file IPAddress.h.
|
inline |
Definition at line 54 of file IPAddress.h.
Definition at line 86 of file IPAddress.cpp.
Definition at line 92 of file IPAddress.cpp.
Definition at line 55 of file IPAddress.h.
bool IPAddress::operator== | ( | const uint8_t * | addr | ) | const |
Definition at line 98 of file IPAddress.cpp.
|
inline |
Definition at line 59 of file IPAddress.h.
|
inline |
Definition at line 60 of file IPAddress.h.
|
virtual |
Implements Printable.
Definition at line 103 of file IPAddress.cpp.
|
inlineprivate |
Definition at line 40 of file IPAddress.h.
|
friend |
Definition at line 70 of file IPAddress.h.
|
friend |
Definition at line 72 of file IPAddress.h.
|
friend |
Definition at line 73 of file IPAddress.h.
|
friend |
Definition at line 68 of file IPAddress.h.
|
friend |
Definition at line 71 of file IPAddress.h.
|
friend |
Definition at line 69 of file IPAddress.h.
union { ... } IPAddress::_address |
uint8_t IPAddress::bytes[4] |
Definition at line 32 of file IPAddress.h.
uint32_t IPAddress::dword |
Definition at line 33 of file IPAddress.h.