#include <I3IPAddress.h>

Public Member Functions | |
| I3IPAddress () | |
| Constructor. | |
| I3IPAddress (IPvXAddress add, int port) | |
| Constructor. | |
| bool | operator< (const I3IPAddress &a) const |
| "Less than" operator | |
| bool | operator== (const I3IPAddress &a) const |
| "Equals" operator (takes port in account) | |
| bool | operator> (const I3IPAddress &a) const |
| "Greater than" operator (takes port in account) | |
| int | length () const |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const I3IPAddress &ip) |
| String stream output operation. | |
Definition at line 32 of file I3IPAddress.h.
| I3IPAddress::I3IPAddress | ( | ) |
| I3IPAddress::I3IPAddress | ( | IPvXAddress | add, | |
| int | port | |||
| ) |
| int I3IPAddress::length | ( | ) | const |
Definition at line 52 of file I3IPAddress.cc.
Referenced by I3SubIdentifier::length().
00052 { 00053 //return sizeof(address) + sizeof(port); 00054 return (ip.isIPv6() ? 128 : 32) + 16; // 16 = port length 00055 }
| bool I3IPAddress::operator< | ( | const I3IPAddress & | a | ) | const |
| bool I3IPAddress::operator== | ( | const I3IPAddress & | a | ) | const |
| bool I3IPAddress::operator> | ( | const I3IPAddress & | a | ) | const |
"Greater than" operator (takes port in account)
| a | Address to be compared |
Definition at line 47 of file I3IPAddress.cc.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const I3IPAddress & | ip | |||
| ) | [friend] |
String stream output operation.
| os | String stream | |
| ip | Address to be output |
Definition at line 57 of file I3IPAddress.cc.
1.5.8