| The Gaudi Framework v30r0 (c919700c)

- 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 121 of file EventIDBase.h.

## Member Function Documentation

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

Definition at line 124 of file EventIDBase.h.

125 {
126 if ( t1.time_stamp() == t2.time_stamp() ) {
127 return t1.time_stamp_ns_offset() > t2.time_stamp_ns_offset();
128 } else {
129 return t1.time_stamp() > t2.time_stamp();
130 }
131 }
EventIDBase::time_stamp
number_type time_stamp() const
time stamp - posix time in seconds from 1970, 32 bit unsigned
Definition: EventIDBase.h:56
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:59

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

Definition at line 132 of file EventIDBase.h.

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

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

- GaudiKernel/GaudiKernel/EventIDBase.h