CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

edm::serviceregistry::ServiceWrapper< T > Class Template Reference

#include <ServiceWrapper.h>

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

List of all members.

Public Member Functions

Tget () const
 ServiceWrapper (std::auto_ptr< T > iService)

Private Member Functions

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

Private Attributes

std::auto_ptr< Tservice_

Detailed Description

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

Definition at line 36 of file ServiceWrapper.h.


Constructor & Destructor Documentation

template<class T >
edm::serviceregistry::ServiceWrapper< T >::ServiceWrapper ( std::auto_ptr< T iService) [inline]

Definition at line 40 of file ServiceWrapper.h.

                                                 :
         service_(iService) {}
template<class T >
edm::serviceregistry::ServiceWrapper< T >::ServiceWrapper ( const ServiceWrapper< T > &  ) [private]

Member Function Documentation

template<class T >
T& edm::serviceregistry::ServiceWrapper< T >::get ( void  ) const [inline]

Definition at line 45 of file ServiceWrapper.h.

References edm::serviceregistry::ServiceWrapper< T >::service_.

{ return *service_; }
template<class T >
const ServiceWrapper& edm::serviceregistry::ServiceWrapper< T >::operator= ( const ServiceWrapper< T > &  ) [private]

Member Data Documentation

template<class 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().