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 18 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 19 of file RefItemGet.h.

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

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

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