CMS 3D CMS Logo

List of all members | Static Public Member Functions
edm::reftobase::RefProdKey Struct Reference

#include <RefKeyTrait.h>

Static Public Member Functions

template<typename REF >
static size_t key (const REF &r)
 

Detailed Description

Definition at line 16 of file RefKeyTrait.h.

Member Function Documentation

template<typename REF >
static size_t edm::reftobase::RefProdKey::key ( const REF &  r)
inlinestatic

Definition at line 18 of file RefKeyTrait.h.

References edm::errors::InvalidReference, and edm::Exception::throwThis().

18  {
20  "attempting get key from a RefToBase containing a RefProd.\n"
21  "You can use key only with RefToBase containing a Ref.");
22  return 0;
23  }
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")