INET Framework for OMNeT++/OMNEST
inet::physicallayer::PairLess< Pair, Key > Class Template Reference

Compares a the first value of a pair to a value. More...

#include <Interpolation.h>

Public Member Functions

bool operator() (const Pair &p, const Key &v) const
 
bool operator() (const Key &v, const Pair &p) const
 
bool operator() (const Pair &left, const Pair &right) const
 

Detailed Description

template<class Pair, class Key>
class inet::physicallayer::PairLess< Pair, Key >

Compares a the first value of a pair to a value.

Member Function Documentation

template<class Pair, class Key>
bool inet::physicallayer::PairLess< Pair, Key >::operator() ( const Pair &  p,
const Key v 
) const
inline
116  {
117  return p.first < v;
118  }
template<class Pair, class Key>
bool inet::physicallayer::PairLess< Pair, Key >::operator() ( const Key v,
const Pair &  p 
) const
inline
121  {
122  return v < p.first;
123  }
template<class Pair, class Key>
bool inet::physicallayer::PairLess< Pair, Key >::operator() ( const Pair &  left,
const Pair &  right 
) const
inline
126  {
127  return left.first < right.first;
128  }

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