rivet is hosted by Hepforge, IPPP Durham
Cmp.fhh
Go to the documentation of this file.
00001 // -*- C++ -*-
00002 #ifndef RIVET_Cmp_FHH
00003 #define RIVET_Cmp_FHH
00004 
00005 namespace Rivet {
00006 
00007 
00008   // Forward-declare the Cmp template class
00009   template <typename T>
00010   class Cmp;
00011 
00012 
00013   /// Enumerate the possible states of a Cmp object.
00014   enum CmpState {
00015     UNDEFINED = -2,  //< Undefined state.
00016     ASC = -1,    //< The two corresponding objects are in ascending order.
00017     ORDERED = -1,    //< The two corresponding objects are ordered.
00018     EQUIVALENT = 0,  //< The two corresponding objects are equivalent.
00019     DESC = 1,    //< The two corresponding objects are in descending order.
00020     UNORDERED = 1,    //< The two corresponding objects are anti-ordered.
00021     ANTIORDERED = 1    //< The two corresponding objects are anti-ordered.
00022   };
00023 
00024 
00025 }
00026 
00027 #endif