CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::ProducesCollectorAdaptor< B > Class Template Reference

#include <ProducesCollector.h>

Public Types

using Adapter = ProducesCollectorAdaptor< B >
 

Public Member Functions

template<typename TYPE >
EDPutTokenT< TYPE > produces ()
 

Private Member Functions

 ProducesCollectorAdaptor (ProducesCollector iBase, std::string iLabel)
 
 ProducesCollectorAdaptor (ProducesCollector iBase)
 

Private Attributes

std::string const m_label
 
ProducesCollector m_producer
 

Friends

class ProducesCollector
 

Detailed Description

template<Transition B>
class edm::ProducesCollectorAdaptor< B >

Definition at line 43 of file ProducesCollector.h.

Member Typedef Documentation

◆ Adapter

template<Transition B>
using edm::ProducesCollectorAdaptor< B >::Adapter = ProducesCollectorAdaptor<B>

Definition at line 103 of file ProducesCollector.h.

Constructor & Destructor Documentation

◆ ProducesCollectorAdaptor() [1/2]

template<Transition B>
edm::ProducesCollectorAdaptor< B >::ProducesCollectorAdaptor ( ProducesCollector  iBase,
std::string  iLabel 
)
inlineprivate

Definition at line 114 of file ProducesCollector.h.

115  : m_producer(iBase), m_label(std::move(iLabel)) {}
def move(src, dest)
Definition: eostools.py:511

◆ ProducesCollectorAdaptor() [2/2]

template<Transition B>
edm::ProducesCollectorAdaptor< B >::ProducesCollectorAdaptor ( ProducesCollector  iBase)
inlineprivate

Definition at line 116 of file ProducesCollector.h.

116 : m_producer(iBase), m_label() {}

Member Function Documentation

◆ produces()

template<Transition B>
template<typename TYPE >
EDPutTokenT<TYPE> edm::ProducesCollectorAdaptor< B >::produces ( )
inline

Definition at line 106 of file ProducesCollector.h.

References edm::ProducesCollectorAdaptor< B >::m_label, and edm::ProducesCollectorAdaptor< B >::m_producer.

106  {
107  return m_producer.template produces<TYPE, B>(m_label);
108  }

Friends And Related Function Documentation

◆ ProducesCollector

template<Transition B>
friend class ProducesCollector
friend

Definition at line 112 of file ProducesCollector.h.

Member Data Documentation

◆ m_label

template<Transition B>
std::string const edm::ProducesCollectorAdaptor< B >::m_label
private

Definition at line 119 of file ProducesCollector.h.

Referenced by edm::ProducesCollectorAdaptor< B >::produces().

◆ m_producer

template<Transition B>
ProducesCollector edm::ProducesCollectorAdaptor< B >::m_producer
private

Definition at line 118 of file ProducesCollector.h.

Referenced by edm::ProducesCollectorAdaptor< B >::produces().