CMS 3D CMS Logo

Public Types | Public 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 (ConstProductRegistry const &)
 ConstProductRegistry (SignallingProductRegistry &iReg)
ConstProductRegistryoperator= (ConstProductRegistry const &)
ProductList const & productList () const
ProductRegistry const & productRegistry () const
template<class T , class TMethod >
void watchProductAdditions (T const &iObj, TMethod iMethod)
template<class T >
void watchProductAdditions (const T &iFunc)

Private Attributes

SignallingProductRegistryreg_

Detailed Description

Definition at line 31 of file ConstProductRegistry.h.


Member Typedef Documentation

Definition at line 35 of file ConstProductRegistry.h.


Constructor & Destructor Documentation

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

Definition at line 37 of file ConstProductRegistry.h.

: reg_(&iReg) { }
edm::ConstProductRegistry::ConstProductRegistry ( ConstProductRegistry const &  )

Member Function Documentation

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

Definition at line 56 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 50 of file ConstProductRegistry.h.

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

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

Definition at line 58 of file ConstProductRegistry.h.

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

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

Definition at line 45 of file ConstProductRegistry.h.

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

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

Definition at line 43 of file ConstProductRegistry.h.

References reg_.

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

Definition at line 67 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));
    }
template<class T >
void edm::ConstProductRegistry::watchProductAdditions ( const T iFunc) [inline]

Member Data Documentation