Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Data Fields
UUtils::CompareDesc< T > Struct Template Reference

#include <UUtils.hh>

Public Member Functions

 CompareDesc (T d)
 
template<typename Index >
bool operator() (Index i1, Index i2)
 

Data Fields

fData
 

Detailed Description

template<typename T>
struct UUtils::CompareDesc< T >

Definition at line 99 of file UUtils.hh.

Constructor & Destructor Documentation

template<typename T >
UUtils::CompareDesc< T >::CompareDesc ( d)
inline

Definition at line 102 of file UUtils.hh.

102 : fData(d) {}

Member Function Documentation

template<typename T >
template<typename Index >
bool UUtils::CompareDesc< T >::operator() ( Index  i1,
Index  i2 
)
inline

Definition at line 105 of file UUtils.hh.

References UUtils::CompareDesc< T >::fData.

106  {
107  return *(fData + i1) > *(fData + i2);
108  }

Field Documentation

template<typename T >
T UUtils::CompareDesc< T >::fData

Definition at line 110 of file UUtils.hh.

Referenced by UUtils::CompareDesc< T >::operator()().


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