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 Attributes
edm::StreamerInputSource::EventPrincipalHolder Class Reference
Inheritance diagram for edm::StreamerInputSource::EventPrincipalHolder:
edm::EDProductGetter

Public Member Functions

 EventPrincipalHolder ()
 
virtual WrapperHolder getIt (edm::ProductID const &id) const override
 
void setEventPrincipal (EventPrincipal *ep)
 
virtual unsigned int transitionIndex_ () const override
 
virtual ~EventPrincipalHolder ()
 
- Public Member Functions inherited from edm::EDProductGetter
 EDProductGetter ()
 
unsigned int transitionIndex () const
 
virtual ~EDProductGetter ()
 

Private Attributes

EventPrincipal const * eventPrincipal_
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::EDProductGetter
static void assignEDProductGetter (EDProductGetter const *&)
 
static EDProductGetter const * switchProductGetter (EDProductGetter const *)
 These can only be used internally by the framework. More...
 

Detailed Description

Definition at line 64 of file StreamerInputSource.h.

Constructor & Destructor Documentation

edm::StreamerInputSource::EventPrincipalHolder::EventPrincipalHolder ( )

Definition at line 367 of file StreamerInputSource.cc.

367 : eventPrincipal_(nullptr) {}
edm::StreamerInputSource::EventPrincipalHolder::~EventPrincipalHolder ( )
virtual

Definition at line 369 of file StreamerInputSource.cc.

369 {}

Member Function Documentation

WrapperHolder edm::StreamerInputSource::EventPrincipalHolder::getIt ( edm::ProductID const &  id) const
overridevirtual

Implements edm::EDProductGetter.

Definition at line 372 of file StreamerInputSource.cc.

372  {
373  return eventPrincipal_ ? eventPrincipal_->getIt(id) : WrapperHolder();
374  }
WrapperHolder getIt(ProductID const &pid) const
void edm::StreamerInputSource::EventPrincipalHolder::setEventPrincipal ( EventPrincipal ep)

Definition at line 383 of file StreamerInputSource.cc.

Referenced by edm::StreamerInputSource::read().

383  {
384  eventPrincipal_ = ep;
385  }
unsigned int edm::StreamerInputSource::EventPrincipalHolder::transitionIndex_ ( ) const
overridevirtual

Implements edm::EDProductGetter.

Definition at line 377 of file StreamerInputSource.cc.

377  {
378  assert(eventPrincipal_ != nullptr);
380  }
unsigned int transitionIndex() const

Member Data Documentation

EventPrincipal const* edm::StreamerInputSource::EventPrincipalHolder::eventPrincipal_
private

Definition at line 77 of file StreamerInputSource.h.