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::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 37 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 39 of file ESOutlet.h.

40  :
41  es_(&iES),
42  label_(iLabel) {}
const std::string label_
Definition: ESOutlet.h:50
const edm::EventSetup * es_
Definition: ESOutlet.h:49

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 44 of file ESOutlet.h.

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

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

Member Data Documentation

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

Definition at line 49 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