Geant4  10.02.p03
sortWatcher< OBJECT > Struct Template Reference

#include <G4FastList.hh>

Collaboration diagram for sortWatcher< OBJECT >:

Public Member Functions

bool operator() (const typename G4FastList< OBJECT >::Watcher *left, const typename G4FastList< OBJECT >::Watcher *right) const
 

Detailed Description

template<class OBJECT>
struct sortWatcher< OBJECT >

Definition at line 70 of file G4FastList.hh.

Member Function Documentation

◆ operator()()

template<class OBJECT>
bool sortWatcher< OBJECT >::operator() ( const typename G4FastList< OBJECT >::Watcher *  left,
const typename G4FastList< OBJECT >::Watcher *  right 
) const
inline

Definition at line 437 of file G4FastList.hh.

439  {
440  if(left && right)
441  {
442  if(left->GetPriority() != right->GetPriority())
443  {
444  return left->GetPriority() < right->GetPriority();
445  }
446  return left < right;
447  }
448  return false;
449  }
Here is the call graph for this function:

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