#include <OnixS/Senaf/MarketData/IPAddress.h>
Public Types | |
enum | { ADDR_SIZE = 4 } |
Public Member Functions | |
IPAddress () | |
IPAddress (unsigned char addr[ADDR_SIZE]) | |
IPAddress (const IPAddress &other) | |
IPAddress & | operator= (const IPAddress &other) |
std::string | toString () const |
Static Public Member Functions | |
static IPAddress | parse (const std::string &str) |
Public Attributes | |
unsigned char | addr [ADDR_SIZE] |
Definition at line 33 of file IPAddress.h.
anonymous enum |
Enumerator | |
---|---|
ADDR_SIZE |
Definition at line 35 of file IPAddress.h.
IPAddress | ( | ) |
Default constructor.
|
explicit |
Constructor.
addr | 4 bytes of the IPv4 address. |
|
static |
std::string toString | ( | ) | const |
Returns string representation.
unsigned char addr[ADDR_SIZE] |
IPv4 address.
Definition at line 41 of file IPAddress.h.