CMS 3D CMS Logo

Static Public Member Functions

edm::reftobase::RefProdKey Struct Reference

#include <RefKeyTrait.h>

List of all members.

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) [inline, static]

Definition at line 18 of file RefKeyTrait.h.

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

                                         {
        Exception::throwThis(errors::InvalidReference,
          "attempting get key from a RefToBase containing a RefProd.\n"
          "You can use key only with RefToBase containing a Ref.");
        return 0;
      }