ThePEG  1.8.0
Public Member Functions | List of all members
ThePEG::MinCmp< T, Indx > Class Template Reference

Special calss for Minimum comparisons. More...

#include <MaxCmp.h>

Inheritance diagram for ThePEG::MinCmp< T, Indx >:
Inheritance graph
[legend]

Public Member Functions

 MinCmp ()
 Constructors are not inherited.
 
 MinCmp (const T &t, Indx in=Indx())
 Constructors are not inherited.
 
- Public Member Functions inherited from ThePEG::MaxCmp< T, Indx, less< T > >
 MaxCmp ()
 The default constructor.
 
 MaxCmp (const T &t, Indx in=Indx())
 Constructor specifying an initial maximum value, t.
 
bool operator() (const T &t, Indx i=Indx())
 If t is the largest value seen so far return true. More...
 
 operator const T & () const
 Return the largest value so far.
 
const T & value () const
 Return the largest value so far.
 
Indx index () const
 Return the index of the largest object seen so far.
 

Detailed Description

template<typename T, typename Indx = int>
class ThePEG::MinCmp< T, Indx >

Special calss for Minimum comparisons.

Definition at line 107 of file MaxCmp.h.


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