CMS 3D CMS Logo

Public Types | Public Member Functions

LessByEt< T > Struct Template Reference

#include <EtComparator.h>

List of all members.

Public Types

typedef T first_argument_type
typedef T second_argument_type

Public Member Functions

bool operator() (const T &t1, const T &t2) const

Detailed Description

template<typename T>
struct LessByEt< T >

Definition at line 16 of file EtComparator.h.


Member Typedef Documentation

template<typename T >
typedef T LessByEt< T >::first_argument_type

Definition at line 17 of file EtComparator.h.

template<typename T >
typedef T LessByEt< T >::second_argument_type

Definition at line 18 of file EtComparator.h.


Member Function Documentation

template<typename T >
bool LessByEt< T >::operator() ( const T t1,
const T t2 
) const [inline]

Definition at line 19 of file EtComparator.h.

                                                      {
    return t1.et() < t2.et();
  }