#include "TObject.h"
#include "DbiDetector.hxx"
#include "DbiSimFlag.hxx"
#include "TVldTimeStamp.hxx"
#include "TSK_DBI_Context.hxx"
#include <iosfwd>
Go to the source code of this file.
Classes | |
class | TVldContext |
A tag for identifying the required "context" when interfacing with the DBI. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, const TVldContext &vldts) |
Bool_t | operator< (const TVldContext &lhs, const TVldContext &rhs) |
Bool_t | operator== (const TVldContext &lhs, const TVldContext &rhs) |
Bool_t | operator!= (const TVldContext &lhs, const TVldContext &rhs) |
Bool_t | operator<= (const TVldContext &lhs, const TVldContext &rhs) |
Bool_t | operator> (const TVldContext &lhs, const TVldContext &rhs) |
Bool_t | operator>= (const TVldContext &lhs, const TVldContext &rhs) |
Bool_t operator!= | ( | const TVldContext & | lhs, | |
const TVldContext & | rhs | |||
) | [inline] |
Definition at line 119 of file TVldContext.hxx.
References TVldContext::fDetector, TVldContext::fSimFlag, and TVldContext::fTimeStamp.
00120 { 00121 // not equal if any component doesn't match 00122 return 00123 lhs.fDetector != rhs.fDetector || 00124 lhs.fSimFlag != rhs.fSimFlag || 00125 lhs.fTimeStamp != rhs.fTimeStamp; 00126 }
Bool_t operator< | ( | const TVldContext & | lhs, | |
const TVldContext & | rhs | |||
) | [inline] |
Definition at line 95 of file TVldContext.hxx.
References TVldContext::fDetector, TVldContext::fSimFlag, and TVldContext::fTimeStamp.
00096 { 00097 // sorting is a little tricky with three fields 00098 // this sorts first by time then detector then simflag 00099 // *WARNING* be very careful if you change this 00100 if ( lhs.fTimeStamp < rhs.fTimeStamp ) return true; 00101 if ( lhs.fTimeStamp == rhs.fTimeStamp ) { 00102 if ( lhs.fDetector < rhs.fDetector ) return true; 00103 if ( lhs.fDetector == rhs.fDetector ) { 00104 if (lhs.fSimFlag < rhs.fSimFlag ) return true; 00105 } 00106 } 00107 return false; 00108 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const TVldContext & | vldts | |||
) |
Bool_t operator<= | ( | const TVldContext & | lhs, | |
const TVldContext & | rhs | |||
) | [inline] |
Definition at line 128 of file TVldContext.hxx.
Bool_t operator== | ( | const TVldContext & | lhs, | |
const TVldContext & | rhs | |||
) | [inline] |
Definition at line 110 of file TVldContext.hxx.
References TVldContext::fDetector, TVldContext::fSimFlag, and TVldContext::fTimeStamp.
00111 { 00112 // equal if all components match 00113 return 00114 lhs.fDetector == rhs.fDetector && 00115 lhs.fSimFlag == rhs.fSimFlag && 00116 lhs.fTimeStamp == rhs.fTimeStamp; 00117 }
Bool_t operator> | ( | const TVldContext & | lhs, | |
const TVldContext & | rhs | |||
) | [inline] |
Definition at line 133 of file TVldContext.hxx.
Bool_t operator>= | ( | const TVldContext & | lhs, | |
const TVldContext & | rhs | |||
) | [inline] |
Definition at line 138 of file TVldContext.hxx.