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

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

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

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

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

Member Data Documentation

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

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