Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

compareDigits Struct Reference

List of all members.

Public Member Functions

bool operator() (const SimDigit &d1, const SimDigit &d2) const

Member Function Documentation

bool compareDigits::operator() const SimDigit d1,
const SimDigit d2
const [inline]
 

Definition at line 16 of file SimDigitList.cxx.

References SimDigit::GetErrors(), and SimDigit::GetTime().

00016                                                                 {    
00017 
00018     if(d1.GetErrors())
00019       if(d2.GetErrors()) return (d1.GetTime()<d2.GetTime());
00020       else return false;
00021     
00022     if(d2.GetErrors()) return true;
00023 
00024     return (d1.GetTime()<d2.GetTime());
00025   };


The documentation for this struct was generated from the following file:
Generated on Mon Feb 15 11:09:00 2010 for loon by  doxygen 1.3.9.1