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

#include <AnsaOSPFcommon.h>

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 91 of file AnsaOSPFcommon.h.


Member Function Documentation

bool AnsaOSPF::LSAKeyType_Less::operator() ( AnsaOSPF::LSAKeyType  leftKey,
AnsaOSPF::LSAKeyType  rightKey 
) const [inline]

Definition at line 210 of file AnsaOSPFcommon.h.

{
    return ((leftKey.linkStateID < rightKey.linkStateID) ||
            ((leftKey.linkStateID == rightKey.linkStateID) &&
             (leftKey.advertisingRouter < rightKey.advertisingRouter)));
}

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