CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
edm::ProductFromFwdPtrFactory< T > Class Template Reference

#include <FwdPtrConversionFactory.h>

Inheritance diagram for edm::ProductFromFwdPtrFactory< T >:

Public Member Functions

T operator() (edm::FwdPtr< T > const &r) const
 

Detailed Description

template<class T>
class edm::ProductFromFwdPtrFactory< T >

Factory class template for how to produce products from a FwdPtr. This particular example is for copy construction, but the same signature can be used elsewhere.

Definition at line 19 of file FwdPtrConversionFactory.h.

Member Function Documentation

template<class T >
T edm::ProductFromFwdPtrFactory< T >::operator() ( edm::FwdPtr< T > const &  r) const
inline

Definition at line 21 of file FwdPtrConversionFactory.h.

21 { return T(*r); }
long double T