INET Framework for OMNeT++/OMNEST
inet::ospf::LSAKeyType_Less Class Reference

#include <OSPFcommon.h>

Inheritance diagram for inet::ospf::LSAKeyType_Less:

Public Member Functions

bool operator() (LSAKeyType leftKey, LSAKeyType rightKey) const
 

Member Function Documentation

bool inet::ospf::LSAKeyType_Less::operator() ( LSAKeyType  leftKey,
LSAKeyType  rightKey 
) const
inline
199 {
200  return (leftKey.linkStateID < rightKey.linkStateID) ||
201  ((leftKey.linkStateID == rightKey.linkStateID) &&
202  (leftKey.advertisingRouter < rightKey.advertisingRouter));
203 }

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