INET Framework for OMNeT++/OMNEST
|
This class provides network addresses using the module id of interface modules. More...
#include <ModuleIdAddress.h>
Public Member Functions | |
ModuleIdAddress () | |
ModuleIdAddress (int id) | |
int | getId () const |
bool | tryParse (const char *addr) |
bool | isUnspecified () const |
bool | isUnicast () const |
bool | isMulticast () const |
bool | isBroadcast () const |
bool | operator== (const ModuleIdAddress &addr1) const |
Returns equals(addr). More... | |
bool | operator!= (const ModuleIdAddress &addr1) const |
Returns !equals(addr). More... | |
bool | operator< (const ModuleIdAddress &addr1) const |
Compares two addresses. More... | |
bool | operator<= (const ModuleIdAddress &addr1) const |
bool | operator> (const ModuleIdAddress &addr1) const |
bool | operator>= (const ModuleIdAddress &addr1) const |
std::string | str () const |
Private Attributes | |
int | id |
This class provides network addresses using the module id of interface modules.
The module id address supports unspecified, broadcast and multicast addresses too. This class doesn't support address prefixes.
|
inline |
|
inline |
|
inline |
Referenced by inet::GenericARP::mapUnicastAddress().
|
inline |
Referenced by inet::L3Address::isBroadcast().
|
inline |
Referenced by inet::L3Address::isMulticast().
|
inline |
Referenced by inet::L3Address::isUnicast().
|
inline |
Referenced by inet::L3Address::isUnspecified().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by inet::L3Address::str().
bool inet::ModuleIdAddress::tryParse | ( | const char * | addr | ) |
Referenced by inet::L3Address::tryParse().
|
private |
Referenced by operator!=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().