CMS 3D CMS Logo

List of all members | Public Member Functions
edm::FwdPtrFromProductFactory< T > Struct Template Reference

#include <FwdPtrConversionFactory.h>

Public Member Functions

edm::FwdPtr< Toperator() (edm::View< T > const &view, unsigned int i) const
 

Detailed Description

template<class T>
struct edm::FwdPtrFromProductFactory< T >

Factory class template for how to produce FwdPtrs from a View.

Definition at line 32 of file FwdPtrConversionFactory.h.

Member Function Documentation

template<class T >
edm::FwdPtr<T> edm::FwdPtrFromProductFactory< T >::operator() ( edm::View< T > const &  view,
unsigned int  i 
) const
inline

Definition at line 33 of file FwdPtrConversionFactory.h.

33 { return edm::FwdPtr<T>(view.ptrAt(i),view.ptrAt(i)); }
Ptr< value_type > ptrAt(size_type i) const