ANNA Suite  2020b
Multipurpose development suite for Telco applications
Public Member Functions | List of all members
anna::diameter::stack::Dictionary::lessCommand Struct Reference

#include <Dictionary.hpp>

Public Member Functions

bool operator() (CommandId id1, CommandId id2) const
 

Member Function Documentation

◆ operator()()

bool anna::diameter::stack::Dictionary::lessCommand::operator() ( CommandId  id1,
CommandId  id2 
) const
inline
72  {
73  if(id1.first == id2.first) {
74  if(id1.second != id2.second) return (id1.second); // request -> answer
75 
76  return (false);
77  }
78 
79  return (id1.first < id2.first);
80  }

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