ATLAS Offline Software
Public Member Functions | List of all members
IOVTime::SortByTimeStamp Class Reference

Predicate. Used to sort by time stamp. More...

#include <IOVTime.h>

Collaboration diagram for IOVTime::SortByTimeStamp:

Public Member Functions

bool operator() (const IOVTime &t1, const IOVTime &t2) const noexcept
 
bool operator() (const IOVTime *t1, const IOVTime *t2) const noexcept
 

Detailed Description

Predicate. Used to sort by time stamp.

Definition at line 66 of file IOVTime.h.

Member Function Documentation

◆ operator()() [1/2]

bool IOVTime::SortByTimeStamp::operator() ( const IOVTime t1,
const IOVTime t2 
) const
inlinenoexcept

Definition at line 68 of file IOVTime.h.

68  {
69  return t1.timestamp() > t2.timestamp();
70  }

◆ operator()() [2/2]

bool IOVTime::SortByTimeStamp::operator() ( const IOVTime t1,
const IOVTime t2 
) const
inlinenoexcept

Definition at line 71 of file IOVTime.h.

71  {
72  return t1->timestamp() > t2->timestamp();
73  }

The documentation for this class was generated from the following file:
ALFA_EventTPCnv_Dict::t1
std::vector< ALFA_RawDataCollection_p1 > t1
Definition: ALFA_EventTPCnvDict.h:43
ALFA_EventTPCnv_Dict::t2
std::vector< ALFA_RawDataContainer_p1 > t2
Definition: ALFA_EventTPCnvDict.h:44