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
reco::componenthelper::SingleComponent< C, T, F > Struct Template Reference

#include <component.h>

Static Public Member Functions

static T get (const Candidate &c)
 

Detailed Description

template<typename C, typename T, T(C::*)() const F>
struct reco::componenthelper::SingleComponent< C, T, F >

Definition at line 26 of file component.h.

Member Function Documentation

template<typename C , typename T , T(C::*)() const F>
static T reco::componenthelper::SingleComponent< C, T, F >::get ( const Candidate c)
inlinestatic

Definition at line 27 of file component.h.

References trackerHits::c, funct::C, and F().

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().

27  {
28  const C * dc = dynamic_cast<const C *>( & c );
29  if ( dc == 0 ) return T();
30  return (dc->*F)();
31  }
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:281
long double T