ENUt
|
Base class for network layer addresses. More...
#include <networklayeraddress.h>
Public Member Functions | |
NetworkLayerProtocol | getProtocol () const |
Returns the protocol used by this instance. | |
virtual NetworkLayerAddress * | createCopy () const =0 |
Creates a copy of the current address. | |
virtual bool | isSameAddress (const NetworkLayerAddress &address) const =0 |
Check if this address is the same as the one stored in address . | |
virtual std::string | getAddressString () const =0 |
Converts the address contained in this instance to a readable string. |
virtual NetworkLayerAddress* nut::NetworkLayerAddress::createCopy | ( | ) | const [pure virtual] |
virtual std::string nut::NetworkLayerAddress::getAddressString | ( | ) | const [pure virtual] |
NetworkLayerProtocol nut::NetworkLayerAddress::getProtocol | ( | ) | const [inline] |
virtual bool nut::NetworkLayerAddress::isSameAddress | ( | const NetworkLayerAddress & | address | ) | const [pure virtual] |