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

Helper class for IdentifierToHash to automate recursive index call. More...

#include <IdentifierToHash.h>

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

Static Public Member Functions

static const K::ValueType & getConstRef (const K &obj, const T &indices)
static K::ValueType & getRef (K &obj, const T &indices)

Detailed Description

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

Helper class for IdentifierToHash to automate recursive index call.

Definition at line 62 of file IdentifierToHash.h.

Member Function Documentation

◆ getConstRef()

template<class T>
template<unsigned int N, class K>
const K::ValueType & IdentifierToHash< T >::RecursiveIndexCall< N, K >::getConstRef ( const K & obj,
const T & indices )
inlinestatic

Definition at line 64 of file IdentifierToHash.h.

64 {
65 int idx = indices[N-1];
66#ifdef IDENTIFIERTOHASH_DEBUG
67 MsgStream log(Athena::getMessageSvc(),"RecursiveIndexCall");
68 log<<MSG::DEBUG<<"[" << idx << "]"<<endmsg;
69#endif
71 }
static const K::ValueType & getConstRef(const K &obj, const T &indices)
The IdentifierToHash table.

◆ getRef()

template<class T>
template<unsigned int N, class K>
K::ValueType & IdentifierToHash< T >::RecursiveIndexCall< N, K >::getRef ( K & obj,
const T & indices )
inlinestatic

Definition at line 72 of file IdentifierToHash.h.

72 {
73 int idx = indices[N-1];
74#ifdef IDENTIFIERTOHASH_DEBUG
75 log<<MSG::DEBUG<<"{" << idx << "}"<<endmsg;
76#endif
78 }
static K::ValueType & getRef(K &obj, const T &indices)

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