| The Gaudi Framework v29r0 (ff2e7097)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
EventIDBase::SortByTimeStamp Class Reference

`#include <GaudiKernel/EventIDBase.h>`

## Public Member Functions
bool | operator() (const EventIDBase &t1, const EventIDBase &t2) const
bool | operator() (const EventIDBase *t1, const EventIDBase *t2) const

## Detailed Description

Definition at line 120 of file EventIDBase.h.

## Member Function Documentation

bool EventIDBase::SortByTimeStamp::operator() | ( | const EventIDBase & | t1,
|  | const EventIDBase & | t2
| ) |  | const
| inline

Definition at line 123 of file EventIDBase.h.

124 {
125 if ( t1.time_stamp() == t2.time_stamp() ) {
126 return t1.time_stamp_ns_offset() > t2.time_stamp_ns_offset();
127 } else {
128 return t1.time_stamp() > t2.time_stamp();
129 }
130 }
EventIDBase::time_stamp
number_type time_stamp() const
time stamp - posix time in seconds from 1970, 32 bit unsigned
Definition: EventIDBase.h:55
EventIDBase::time_stamp_ns_offset
number_type time_stamp_ns_offset() const
time stamp ns - ns time offset for time_stamp, 32 bit unsigned
Definition: EventIDBase.h:58

bool EventIDBase::SortByTimeStamp::operator() | ( | const EventIDBase * | t1,
|  | const EventIDBase * | t2
| ) |  | const
| inline

Definition at line 131 of file EventIDBase.h.

131 { return ( SortByTimeStamp()( *t1, *t2 ) ); }

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

- GaudiKernel/GaudiKernel/EventIDBase.h