CMS 3D CMS Logo

List of all members | Static Public Member Functions
edm::helper::RefConverter< RefToBase< T >, Ptr< T > > Struct Template Reference

#include <AssociativeIterator.h>

Static Public Member Functions

static Ptr< Tconvert (const RefToBase< T > &ref)
 

Detailed Description

template<typename T>
struct edm::helper::RefConverter< RefToBase< T >, Ptr< T > >

Definition at line 65 of file AssociativeIterator.h.

Member Function Documentation

template<typename T >
static Ptr<T> edm::helper::RefConverter< RefToBase< T >, Ptr< T > >::convert ( const RefToBase< T > &  ref)
inlinestatic

Definition at line 66 of file AssociativeIterator.h.

References edm::RefToBase< T >::get(), edm::RefToBase< T >::id(), edm::RefToBase< T >::isAvailable(), and edm::RefToBase< T >::key().

66 { return Ptr<T>(ref.id(), ref.isAvailable() ? ref.get() : 0, ref.key()); }