#include <senf/Packets/80221Bundle/MIHTypes.hh>
Public Types | |
enum | Type { MulticastType, MACAddress, INet4Address, INet6Address, String, EUI64 } |
Public Member Functions | |
MIHFId () | |
Create multicast id. More... | |
MIHFId (senf::MACAddress const &addr) | |
Construct id with given MACAddress. More... | |
MIHFId (senf::INet4Address const &addr) | |
Construct id with given INet4Address. More... | |
MIHFId (senf::INet6Address const &addr) | |
Construct id with given INet6Address. More... | |
MIHFId (std::string const &addr) | |
Construct id with given String. More... | |
MIHFId (senf::EUI64 const &addr) | |
Construct id with given EUI64. More... | |
Type | type () const |
bool | operator== (MIHFId const &other) const |
bool | operator< (MIHFId const &other) const |
Static Public Attributes | |
static MIHFId const | Multicast |
The multicast (empty) MIHF Id. More... | |
Definition at line 33 of file MIHTypes.hh.
enum senf::MIHFId::Type |
Enumerator | |
---|---|
MulticastType | |
MACAddress | |
INet4Address | |
INet6Address | |
String | |
EUI64 |
Definition at line 41 of file MIHTypes.hh.
senf::MIHFId::MIHFId | ( | ) |
Create multicast id.
senf::MIHFId::MIHFId | ( | senf::MACAddress const & | addr | ) |
Construct id with given MACAddress.
senf::MIHFId::MIHFId | ( | senf::INet4Address const & | addr | ) |
Construct id with given INet4Address.
senf::MIHFId::MIHFId | ( | senf::INet6Address const & | addr | ) |
Construct id with given INet6Address.
senf::MIHFId::MIHFId | ( | std::string const & | addr | ) |
Construct id with given String.
senf::MIHFId::MIHFId | ( | senf::EUI64 const & | addr | ) |
Construct id with given EUI64.
bool senf::MIHFId::operator< | ( | MIHFId const & | other | ) | const |
bool senf::MIHFId::operator== | ( | MIHFId const & | other | ) | const |
Type senf::MIHFId::type | ( | ) | const |
|
static |
The multicast (empty) MIHF Id.
Definition at line 40 of file MIHTypes.hh.