Public Member Functions | |
unsigned short | Family () const override |
Returns the address family of the address type. | |
int | Protocol () const override |
Returns the protocol of the address type. | |
int | Size () const override |
Returns the number of bytes required to store an address of this type. | |
const IAddress & | WildcardAddress () const override |
Returns this address type's wildcard address; e.g. INADDR_ANY for IPv4. Yes, I know that at present all wildcard addresses are just a zero filled address structure, but... | |
virtual bool | operator== (const IAddressType &rhs) const |
virtual bool | operator!= (const IAddressType &rhs) const |
virtual JetByteTools::Core::_tstring | ToString () const |
virtual std::string | ToStringA () const |
Static Public Member Functions | |
static CAddressType | GetAddressType (unsigned short addressFamily) |
Static Public Attributes | |
static const CAddressType | instance = static_cast<CAddressType>(CAddressTypeIPv6()) |
CAddressType GetAddressType | ( | unsigned short | addressFamily | ) | [static, inherited] |
unsigned short Family | ( | ) | const [override, virtual, inherited] |
int Protocol | ( | ) | const [override, virtual, inherited] |
int Size | ( | ) | const [override, virtual, inherited] |
const IAddress & WildcardAddress | ( | ) | const [override, virtual, inherited] |
Returns this address type's wildcard address; e.g. INADDR_ANY for IPv4. Yes, I know that at present all wildcard addresses are just a zero filled address structure, but...
Implements IAddressType.
virtual bool operator== | ( | const IAddressType & | rhs | ) | const [inline, virtual, inherited] |
virtual bool operator!= | ( | const IAddressType & | rhs | ) | const [inline, virtual, inherited] |
_tstring ToString | ( | ) | const [virtual, inherited] |
string ToStringA | ( | ) | const [virtual, inherited] |
const CAddressType instance = static_cast<CAddressType>(CAddressTypeIPv6()) [static] |