CMS 3D CMS Logo

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

#include <ServiceRegistry.h>

Inheritance diagram for edm::serviceregistry::ServiceWrapper< T >:
edm::serviceregistry::ServiceWrapperBase

Public Member Functions

Tget () const
 
 ServiceWrapper (std::auto_ptr< T > iService)
 
- Public Member Functions inherited from edm::serviceregistry::ServiceWrapperBase
 ServiceWrapperBase ()
 
virtual ~ServiceWrapperBase ()
 

Private Member Functions

const ServiceWrapperoperator= (const ServiceWrapper &)
 
 ServiceWrapper (const ServiceWrapper &)
 

Private Attributes

std::auto_ptr< Tservice_
 

Detailed Description

template<typename T>
class edm::serviceregistry::ServiceWrapper< T >

Definition at line 34 of file ServiceRegistry.h.

Constructor & Destructor Documentation

template<typename T >
edm::serviceregistry::ServiceWrapper< T >::ServiceWrapper ( std::auto_ptr< T iService)
inline

Definition at line 40 of file ServiceWrapper.h.

40  :
41  service_(iService) {}
template<typename T >
edm::serviceregistry::ServiceWrapper< T >::ServiceWrapper ( const ServiceWrapper< T > &  )
private

Member Function Documentation

template<typename T >
T& edm::serviceregistry::ServiceWrapper< T >::get ( void  ) const
inline
template<typename T >
const ServiceWrapper& edm::serviceregistry::ServiceWrapper< T >::operator= ( const ServiceWrapper< T > &  )
private

Member Data Documentation

template<typename T >
std::auto_ptr<T> edm::serviceregistry::ServiceWrapper< T >::service_
private

Definition at line 57 of file ServiceWrapper.h.

Referenced by edm::serviceregistry::ServiceWrapper< T >::get().