interfaceMatch< THIS > Struct Template Reference
Helper
class for the cast used in the MPL for_each algorithm in the implementation of queryInterface.
More...
#include <implements.h>
List of all members.
Detailed Description
template<typename THIS>
struct interfaceMatch< THIS >
Helper
class for the cast used in the MPL for_each algorithm in the implementation of queryInterface.
- Author:
- Marco Clemencic
Definition at line 34 of file implements.h.
Constructor & Destructor Documentation
Member Function Documentation
template<typename THIS>
template<typename IID>
Definition at line 47 of file implements.h.
00047 {
00048 if ((!ptr) && target.versionMatch(IID::interfaceID())) {
00049 ptr = reinterpret_cast<void*>(static_cast<typename IID::iface_type*>(instance));
00050 }
00051 }
Member Data Documentation
The documentation for this struct was generated from the following file:
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r8/GaudiKernel/GaudiKernel/implements.h