ATLAS Offline Software
Loading...
Searching...
No Matches
IdentifierToHash< T >::RecursiveRangeCheck< N, K > Class Template Reference

Helper class for one-go recursive range check on all indices. More...

#include <IdentifierToHash.h>

Collaboration diagram for IdentifierToHash< T >::RecursiveRangeCheck< N, K >:

Static Public Member Functions

static bool isInRange (const K &obj, const T &indices)

Detailed Description

template<class T>
template<unsigned int N, class K>
class IdentifierToHash< T >::RecursiveRangeCheck< N, K >

Helper class for one-go recursive range check on all indices.

Definition at line 110 of file IdentifierToHash.h.

Member Function Documentation

◆ isInRange()

template<class T>
template<unsigned int N, class K>
bool IdentifierToHash< T >::RecursiveRangeCheck< N, K >::isInRange ( const K & obj,
const T & indices )
inlinestatic

Definition at line 112 of file IdentifierToHash.h.

112 {
113 int idx = indices[N-1];
114 bool bOK = obj.isInRange( idx );
115#ifdef IDENTIFIERTOHASH_DEBUG
116 MsgStream log(Athena::getMessageSvc(),"RecursiveRangeCheck");
117 log<<MSG::DEBUG<<"(" << idx << ")"<<endmsg;
118 if ( !bOK ) {
119 log<<MSG::DEBUG<<" CHECK: " << idx << " Out of range (" << obj.minIndex() << "," << obj.maxIndex() << ")"<<endmsg;
120 }
121#endif
123 }
static bool isInRange(const K &obj, const T &indices)
The IdentifierToHash table.

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