INET Framework for OMNeT++/OMNEST
inet::xMIPv6::Key Struct Reference

#include <xMIPv6.h>

Public Member Functions

 Key (IPv6Address _dest, int _interfaceID, int _type)
 
bool operator< (const Key &b) const
 

Public Attributes

int type
 
int interfaceID
 
IPv6Address dest
 

Constructor & Destructor Documentation

inet::xMIPv6::Key::Key ( IPv6Address  _dest,
int  _interfaceID,
int  _type 
)
inline
119  {
120  dest = _dest;
121  interfaceID = _interfaceID;
122  type = _type;
123  }
int type
Definition: xMIPv6.h:114
int interfaceID
Definition: xMIPv6.h:115
IPv6Address dest
Definition: xMIPv6.h:116

Member Function Documentation

bool inet::xMIPv6::Key::operator< ( const Key b) const
inline
126  {
127  if (type == b.type)
128  return interfaceID == b.interfaceID ? dest < b.dest : interfaceID < b.interfaceID;
129  else
130  return type < b.type;
131  }
int type
Definition: xMIPv6.h:114
int interfaceID
Definition: xMIPv6.h:115
IPv6Address dest
Definition: xMIPv6.h:116
value< double, units::m > b
Definition: Units.h:1054

Member Data Documentation

IPv6Address inet::xMIPv6::Key::dest

Referenced by operator<(), and inet::xMIPv6::~xMIPv6().

int inet::xMIPv6::Key::interfaceID

Referenced by operator<(), and inet::xMIPv6::~xMIPv6().

int inet::xMIPv6::Key::type

Referenced by operator<(), and inet::xMIPv6::~xMIPv6().


The documentation for this struct was generated from the following file: