CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions
edm::eventsetup::ProxyFactoryTemplate< T > Class Template Reference

#include <ProxyFactoryTemplate.h>

Inheritance diagram for edm::eventsetup::ProxyFactoryTemplate< T >:
edm::eventsetup::ProxyFactoryBase

Public Types

typedef T::record_type record_type
 

Public Member Functions

virtual DataKey makeKey (const std::string &iName) const
 
virtual std::unique_ptr< DataProxymakeProxy () const
 
 ProxyFactoryTemplate ()
 
- Public Member Functions inherited from edm::eventsetup::ProxyFactoryBase
 ProxyFactoryBase ()
 
virtual ~ProxyFactoryBase ()
 

Private Member Functions

const ProxyFactoryTemplateoperator= (const ProxyFactoryTemplate &)
 
 ProxyFactoryTemplate (const ProxyFactoryTemplate &)
 

Detailed Description

template<class T>
class edm::eventsetup::ProxyFactoryTemplate< T >

Definition at line 34 of file ProxyFactoryTemplate.h.

Member Typedef Documentation

template<class T >
typedef T::record_type edm::eventsetup::ProxyFactoryTemplate< T >::record_type

Definition at line 36 of file ProxyFactoryTemplate.h.

Constructor & Destructor Documentation

Definition at line 38 of file ProxyFactoryTemplate.h.

Referenced by edm::eventsetup::ProxyFactoryTemplate< T >::makeKey().

38 {}
template<class T >
edm::eventsetup::ProxyFactoryTemplate< T >::ProxyFactoryTemplate ( const ProxyFactoryTemplate< T > &  )
private

Member Function Documentation

template<class T >
virtual DataKey edm::eventsetup::ProxyFactoryTemplate< T >::makeKey ( const std::string &  iName) const
inlinevirtual

Implements edm::eventsetup::ProxyFactoryBase.

Definition at line 44 of file ProxyFactoryTemplate.h.

References edm::eventsetup::ProxyFactoryTemplate< T >::operator=(), and edm::eventsetup::ProxyFactoryTemplate< T >::ProxyFactoryTemplate().

44  {
45  return DataKey(DataKey::makeTypeTag<typename T::value_type>(), iName.c_str());
46  }
template<class T >
virtual std::unique_ptr<DataProxy> edm::eventsetup::ProxyFactoryTemplate< T >::makeProxy ( ) const
inlinevirtual

Implements edm::eventsetup::ProxyFactoryBase.

Definition at line 42 of file ProxyFactoryTemplate.h.

42 { return std::make_unique<T>(); }
template<class T >
const ProxyFactoryTemplate& edm::eventsetup::ProxyFactoryTemplate< T >::operator= ( const ProxyFactoryTemplate< T > &  )
private