#include <senf/Packets/80221Bundle/MIHTypes.hh>

Inheritance diagram for senf::MIHFId:

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...
 

Detailed Description

Definition at line 33 of file MIHTypes.hh.

Member Enumeration Documentation

◆ Type

Enumerator
MulticastType 
MACAddress 
INet4Address 
INet6Address 
String 
EUI64 

Definition at line 41 of file MIHTypes.hh.

Constructor & Destructor Documentation

◆ MIHFId() [1/6]

senf::MIHFId::MIHFId ( )

Create multicast id.

◆ MIHFId() [2/6]

senf::MIHFId::MIHFId ( senf::MACAddress const &  addr)

Construct id with given MACAddress.

◆ MIHFId() [3/6]

senf::MIHFId::MIHFId ( senf::INet4Address const &  addr)

Construct id with given INet4Address.

◆ MIHFId() [4/6]

senf::MIHFId::MIHFId ( senf::INet6Address const &  addr)

Construct id with given INet6Address.

◆ MIHFId() [5/6]

senf::MIHFId::MIHFId ( std::string const &  addr)

Construct id with given String.

◆ MIHFId() [6/6]

senf::MIHFId::MIHFId ( senf::EUI64 const &  addr)

Construct id with given EUI64.

Member Function Documentation

◆ operator<()

bool senf::MIHFId::operator< ( MIHFId const &  other) const

◆ operator==()

bool senf::MIHFId::operator== ( MIHFId const &  other) const

◆ type()

Type senf::MIHFId::type ( ) const

Member Data Documentation

◆ Multicast

senf::MIHFId const senf::MIHFId::Multicast
static

The multicast (empty) MIHF Id.

Definition at line 40 of file MIHTypes.hh.


The documentation for this class was generated from the following files: