CMS 3D CMS Logo

Public Types | Public Member Functions | Private Member Functions | Private Attributes

edm::ConstProductRegistry Class Reference

#include <ConstProductRegistry.h>

List of all members.

Public Types

typedef
ProductRegistry::ProductList 
ProductList

Public Member Functions

std::vector< BranchDescription
const * > 
allBranchDescriptions () const
std::vector< std::string > allBranchNames () const
bool anyProductProduced () const
 ConstProductRegistry (SignallingProductRegistry &iReg)
ProductList const & productList () const
ProductRegistry const & productRegistry () const
template<class T , class TMethod >
void watchProductAdditions (T &iObj, TMethod iMethod)
template<class T >
void watchProductAdditions (const T &iFunc)

Private Member Functions

 ConstProductRegistry (const ConstProductRegistry &)
const ConstProductRegistryoperator= (const ConstProductRegistry &)

Private Attributes

SignallingProductRegistryreg_

Detailed Description

Definition at line 32 of file ConstProductRegistry.h.


Member Typedef Documentation

Definition at line 36 of file ConstProductRegistry.h.


Constructor & Destructor Documentation

edm::ConstProductRegistry::ConstProductRegistry ( SignallingProductRegistry iReg) [inline]

Definition at line 38 of file ConstProductRegistry.h.

: reg_(&iReg) { }
edm::ConstProductRegistry::ConstProductRegistry ( const ConstProductRegistry ) [private]

Member Function Documentation

std::vector<BranchDescription const*> edm::ConstProductRegistry::allBranchDescriptions ( ) const [inline]

Definition at line 54 of file ConstProductRegistry.h.

References edm::ProductRegistry::allBranchDescriptions(), and reg_.

{return reg_->allBranchDescriptions();}
std::vector<std::string> edm::ConstProductRegistry::allBranchNames ( ) const [inline]

Definition at line 48 of file ConstProductRegistry.h.

References edm::ProductRegistry::allBranchNames(), and reg_.

{return reg_->allBranchNames();}
bool edm::ConstProductRegistry::anyProductProduced ( ) const [inline]

Definition at line 56 of file ConstProductRegistry.h.

References edm::ProductRegistry::anyProductProduced(), and reg_.

{return reg_->anyProductProduced();}
const ConstProductRegistry& edm::ConstProductRegistry::operator= ( const ConstProductRegistry ) [private]
ProductList const& edm::ConstProductRegistry::productList ( ) const [inline]

Definition at line 43 of file ConstProductRegistry.h.

References edm::ProductRegistry::productList(), and reg_.

{return reg_->productList();}
ProductRegistry const& edm::ConstProductRegistry::productRegistry ( ) const [inline]

Definition at line 41 of file ConstProductRegistry.h.

References reg_.

{return *reg_;}
template<class T >
void edm::ConstProductRegistry::watchProductAdditions ( const T iFunc) [inline]
template<class T , class TMethod >
void edm::ConstProductRegistry::watchProductAdditions ( T iObj,
TMethod  iMethod 
) [inline]

Definition at line 65 of file ConstProductRegistry.h.

References edm::serviceregistry::connect_but_block_self(), edm::SignallingProductRegistry::productAddedSignal_, and reg_.

    {
      serviceregistry::connect_but_block_self(reg_->productAddedSignal_, 
                                              boost::bind(iMethod, iObj,_1));
    }

Member Data Documentation