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 17 of file RefKeyTrait.h.

Member Function Documentation

◆ key()

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

Definition at line 19 of file RefKeyTrait.h.

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

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