CMS 3D CMS Logo

Public Types | Public Member Functions

GreaterByEt< T > Struct Template Reference

#include <EtComparator.h>

Inheritance diagram for GreaterByEt< T >:
ClusBinaryFunction

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 GreaterByEt< T >

Definition at line 25 of file EtComparator.h.


Member Typedef Documentation

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

Definition at line 26 of file EtComparator.h.

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

Definition at line 27 of file EtComparator.h.


Member Function Documentation

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

Definition at line 28 of file EtComparator.h.

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