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 ORDERED = -1, //< The two corresponding objects are ordered. 00017 EQUIVALENT = 0, //< The two corresponding objects are equivalent. 00018 UNORDERED = 1 //< The two corresponding objects are unordered. 00019 }; 00020 00021 00022 } 00023 00024 #endif