CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Static Public Member Functions
edm::refitem::GetPtrImpl< C, T, F, KEY > Struct Template Reference

#include <RefItemGet.h>

Static Public Member Functions

static T const * getPtr_ (RefCore const &product, KEY const &key)
 

Detailed Description

template<typename C, typename T, typename F, typename KEY>
struct edm::refitem::GetPtrImpl< C, T, F, KEY >

Definition at line 17 of file RefItemGet.h.

Member Function Documentation

template<typename C , typename T , typename F , typename KEY >
static T const* edm::refitem::GetPtrImpl< C, T, F, KEY >::getPtr_ ( RefCore const &  product,
KEY const &  key 
)
inlinestatic

Definition at line 18 of file RefItemGet.h.

References funct::C, F(), statics::func, AlCaHLTBitMon_ParallelJobs::p, parseEventContent::prod, and svgfig::template().

Referenced by edm::getPtr(), and edm::getPtr_().

18  {
19  C const* prod = edm::template getProduct<C>(product);
20  /*
21  typename C::const_iterator it = prod->begin();
22  std::advance(it, item.key());
23  T const* p = it.operator->();
24  */
25  F func;
26  T const* p = func(*prod, key);
27  return p;
28  }
list key
Definition: combine.py:13
string func
Definition: statics.py:48
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:281
long double T
def template
Definition: svgfig.py:520