INET Framework for OMNeT++/OMNEST
OSPF::LSAKeyType_Less Class Reference

#include <OSPFcommon.h>

List of all members.

Public Member Functions

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

Member Function Documentation

bool OSPF::LSAKeyType_Less::operator() ( OSPF::LSAKeyType  leftKey,
OSPF::LSAKeyType  rightKey 
) const [inline]
{
    return ((leftKey.linkStateID < rightKey.linkStateID) ||
            ((leftKey.linkStateID == rightKey.linkStateID) &&
             (leftKey.advertisingRouter < rightKey.advertisingRouter)));
}

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