thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.1.5
ThePEG::MinCmp< T, Indx > Class Template Reference

Special calss for Minimum comparisons. More...

#include <MaxCmp.h>

Inheritance diagram for ThePEG::MinCmp< T, Indx >:

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.
 
bool operator! () const
 Return true if no index has been chosen.
 

Detailed Description

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

Special calss for Minimum comparisons.

Definition at line 114 of file MaxCmp.h.


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