CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
edm::ESOutlet< T, TRec >::Getter Class Reference
Inheritance diagram for edm::ESOutlet< T, TRec >::Getter:
edm::extensioncord::ECGetterBase< T >

Public Member Functions

 Getter (const edm::EventSetup &iES, const std::string &iLabel=std::string())
 
- Public Member Functions inherited from edm::extensioncord::ECGetterBase< T >
 ECGetterBase ()
 
const Tget () const
 
virtual ~ECGetterBase ()
 

Private Member Functions

virtual const TgetImpl () const
 

Private Attributes

const edm::EventSetupes_
 
const std::string label_
 

Detailed Description

template<class T, class TRec>
class edm::ESOutlet< T, TRec >::Getter

Definition at line 36 of file ESOutlet.h.

Constructor & Destructor Documentation

template<class T , class TRec >
edm::ESOutlet< T, TRec >::Getter::Getter ( const edm::EventSetup iES,
const std::string &  iLabel = std::string() 
)
inline

Definition at line 38 of file ESOutlet.h.

38 : es_(&iES), label_(iLabel) {}
const std::string label_
Definition: ESOutlet.h:47
const edm::EventSetup * es_
Definition: ESOutlet.h:46

Member Function Documentation

template<class T , class TRec >
virtual const T* edm::ESOutlet< T, TRec >::Getter::getImpl ( ) const
inlineprivatevirtual

Implements edm::extensioncord::ECGetterBase< T >.

Definition at line 41 of file ESOutlet.h.

References data, edm::ESOutlet< T, TRec >::Getter::es_, and edm::ESOutlet< T, TRec >::Getter::label_.

41  {
43  es_->template get<TRec>().get(label_, data);
44  return &(*data);
45  }
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
const std::string label_
Definition: ESOutlet.h:47
const edm::EventSetup * es_
Definition: ESOutlet.h:46

Member Data Documentation

template<class T , class TRec >
const edm::EventSetup* edm::ESOutlet< T, TRec >::Getter::es_
private

Definition at line 46 of file ESOutlet.h.

Referenced by edm::ESOutlet< T, TRec >::Getter::getImpl().

template<class T , class TRec >
const std::string edm::ESOutlet< T, TRec >::Getter::label_
private