Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sortWatcher< OBJECT > Struct Template Reference

#include <G4FastList.hh>

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

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: