CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
simproducer::ProductInfoBase Class Referenceabstract

#include <SimProducer.h>

Inheritance diagram for simproducer::ProductInfoBase:
simproducer::ProductInfo< T >

Public Member Functions

const std::string & instanceName () const
 
 ProductInfoBase (const std::string &iInstanceName)
 
virtual void registerProduct (edm::ProducesCollector) const =0
 
virtual ~ProductInfoBase ()
 

Private Attributes

std::string m_instanceName
 

Detailed Description

Definition at line 39 of file SimProducer.h.

Constructor & Destructor Documentation

◆ ProductInfoBase()

simproducer::ProductInfoBase::ProductInfoBase ( const std::string &  iInstanceName)
inline

Definition at line 41 of file SimProducer.h.

41 : m_instanceName(iInstanceName) {}

◆ ~ProductInfoBase()

virtual simproducer::ProductInfoBase::~ProductInfoBase ( )
inlinevirtual

Definition at line 43 of file SimProducer.h.

43 {}

Member Function Documentation

◆ instanceName()

const std::string& simproducer::ProductInfoBase::instanceName ( ) const
inline

Definition at line 45 of file SimProducer.h.

References m_instanceName.

Referenced by simproducer::ProductInfo< T >::registerProduct().

45 { return m_instanceName; }

◆ registerProduct()

virtual void simproducer::ProductInfoBase::registerProduct ( edm::ProducesCollector  ) const
pure virtual

Member Data Documentation

◆ m_instanceName

std::string simproducer::ProductInfoBase::m_instanceName
private

Definition at line 50 of file SimProducer.h.

Referenced by instanceName().