CMS 3D CMS Logo

List of all members | Static Public Member Functions
edm::reftobase::InvalidRefHolderToRefVector< REF > Struct Template Reference

#include <HolderToVectorTrait.h>

Static Public Member Functions

static std::unique_ptr< RefVectorHolderBasemakeVectorHolder ()
 

Detailed Description

template<typename REF>
struct edm::reftobase::InvalidRefHolderToRefVector< REF >

Definition at line 30 of file HolderToVectorTrait.h.

Member Function Documentation

template<typename REF >
static std::unique_ptr<RefVectorHolderBase> edm::reftobase::InvalidRefHolderToRefVector< REF >::makeVectorHolder ( )
inlinestatic

Definition at line 31 of file HolderToVectorTrait.h.

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

31  {
33  "InvalidRefHolderToRefVector: trying to use RefToBaseVector built with "
34  "an internal type. RefToBase should be built passing an "
35  "object of type edm::RefVector<C>");
36  return std::unique_ptr<RefVectorHolderBase>();
37  }
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
Definition: EDMException.cc:83