CMS 3D CMS Logo

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

edm::AliasGroup Class Reference

#include <Group.h>

Inheritance diagram for edm::AliasGroup:
edm::Group

List of all members.

Public Types

typedef ProducedGroup::GroupStatus GroupStatus

Public Member Functions

 AliasGroup (boost::shared_ptr< ConstBranchDescription > bd, ProducedGroup &realGroup)
virtual ~AliasGroup ()

Private Member Functions

virtual ConstBranchDescription
const & 
branchDescription_ () const
virtual void checkType_ (WrapperOwningHolder const &prod) const
virtual ProductData const & getProductData () const
virtual ProductDatagetProductData ()
virtual void mergeProduct_ (WrapperOwningHolder const &edp, ProductProvenance &productProvenance)
virtual void mergeProduct_ (WrapperOwningHolder const &edp) const
virtual bool onDemand_ () const
virtual bool productUnavailable_ () const
virtual bool productWasDeleted_ () const
virtual bool putOrMergeProduct_ () const
virtual void putProduct_ (WrapperOwningHolder const &edp, ProductProvenance const &productProvenance)
virtual void putProduct_ (WrapperOwningHolder const &edp) const
virtual void resetBranchDescription_ (boost::shared_ptr< ConstBranchDescription > bd)
virtual void resetStatus_ ()
virtual void setProductDeleted_ ()
virtual GroupStatusstatus_ () const
virtual void swap_ (Group &rhs)

Private Attributes

boost::shared_ptr
< ConstBranchDescription
bd_
ProducedGrouprealGroup_

Detailed Description

Definition at line 331 of file Group.h.


Member Typedef Documentation

Definition at line 333 of file Group.h.


Constructor & Destructor Documentation

edm::AliasGroup::AliasGroup ( boost::shared_ptr< ConstBranchDescription bd,
ProducedGroup realGroup 
) [inline, explicit]

Definition at line 334 of file Group.h.

: Group(), realGroup_(realGroup), bd_(bd) {}
edm::AliasGroup::~AliasGroup ( ) [virtual]

Definition at line 19 of file Group.cc.

{}

Member Function Documentation

virtual ConstBranchDescription const& edm::AliasGroup::branchDescription_ ( ) const [inline, private, virtual]

Implements edm::Group.

Definition at line 366 of file Group.h.

References bd_.

{return *bd_;}
virtual void edm::AliasGroup::checkType_ ( WrapperOwningHolder const &  prod) const [inline, private, virtual]

Implements edm::Group.

Definition at line 347 of file Group.h.

References edm::Group::checkType(), and realGroup_.

{realGroup_.checkType(prod);}
virtual ProductData const& edm::AliasGroup::getProductData ( ) const [inline, private, virtual]

Implements edm::Group.

Definition at line 348 of file Group.h.

References edm::Group::productData(), and realGroup_.

{return realGroup_.productData();}
virtual ProductData& edm::AliasGroup::getProductData ( ) [inline, private, virtual]

Implements edm::Group.

Definition at line 349 of file Group.h.

References edm::Group::productData(), and realGroup_.

{return realGroup_.productData();}
virtual void edm::AliasGroup::mergeProduct_ ( WrapperOwningHolder const &  edp,
ProductProvenance productProvenance 
) [inline, private, virtual]

Implements edm::Group.

Definition at line 357 of file Group.h.

References edm::Group::mergeProduct(), and realGroup_.

                                                                                                       {
        realGroup_.mergeProduct(edp, productProvenance);
      }
virtual void edm::AliasGroup::mergeProduct_ ( WrapperOwningHolder const &  edp) const [inline, private, virtual]

Implements edm::Group.

Definition at line 360 of file Group.h.

References edm::Group::mergeProduct(), and realGroup_.

                                                                       {
        realGroup_.mergeProduct(edp);
      }
virtual bool edm::AliasGroup::onDemand_ ( ) const [inline, private, virtual]

Implements edm::Group.

Definition at line 342 of file Group.h.

References edm::Group::onDemand(), and realGroup_.

{return realGroup_.onDemand();}
virtual bool edm::AliasGroup::productUnavailable_ ( ) const [inline, private, virtual]

Implements edm::Group.

Definition at line 345 of file Group.h.

References edm::Group::productUnavailable(), and realGroup_.

{return realGroup_.productUnavailable();}
virtual bool edm::AliasGroup::productWasDeleted_ ( ) const [inline, private, virtual]

Implements edm::Group.

Definition at line 346 of file Group.h.

References edm::Group::productWasDeleted(), and realGroup_.

{return realGroup_.productWasDeleted();}
virtual bool edm::AliasGroup::putOrMergeProduct_ ( ) const [inline, private, virtual]

Implements edm::Group.

Definition at line 363 of file Group.h.

References edm::Group::putOrMergeProduct(), and realGroup_.

                                              {
        return realGroup_.putOrMergeProduct();
      }
virtual void edm::AliasGroup::putProduct_ ( WrapperOwningHolder const &  edp,
ProductProvenance const &  productProvenance 
) [inline, private, virtual]

Implements edm::Group.

Definition at line 351 of file Group.h.

References edm::Group::putProduct(), and realGroup_.

                                                                                                           {
        realGroup_.putProduct(edp, productProvenance);
      }
virtual void edm::AliasGroup::putProduct_ ( WrapperOwningHolder const &  edp) const [inline, private, virtual]

Implements edm::Group.

Definition at line 354 of file Group.h.

References edm::Group::putProduct(), and realGroup_.

                                                                     {
        realGroup_.putProduct(edp);
      }
virtual void edm::AliasGroup::resetBranchDescription_ ( boost::shared_ptr< ConstBranchDescription bd) [inline, private, virtual]

Implements edm::Group.

Definition at line 367 of file Group.h.

References bd_.

{bd_ = bd;}
virtual void edm::AliasGroup::resetStatus_ ( ) [inline, private, virtual]

Implements edm::Group.

Definition at line 344 of file Group.h.

References realGroup_, and edm::Group::resetStatus().

{realGroup_.resetStatus();}
virtual void edm::AliasGroup::setProductDeleted_ ( ) [inline, private, virtual]

Implements edm::Group.

Definition at line 350 of file Group.h.

References realGroup_, and edm::Group::setProductDeleted().

{realGroup_.setProductDeleted();}
virtual GroupStatus& edm::AliasGroup::status_ ( ) const [inline, private, virtual]

Definition at line 343 of file Group.h.

References realGroup_, and edm::ProducedGroup::status().

{return realGroup_.status();}
virtual void edm::AliasGroup::swap_ ( Group rhs) [inline, private, virtual]

Implements edm::Group.

Definition at line 337 of file Group.h.

References bd_, realGroup_, and edm::Group::swap().

                                     {
        AliasGroup& other = dynamic_cast<AliasGroup&>(rhs);
        realGroup_.swap(other.realGroup_);
        std::swap(bd_, other.bd_);
      }

Member Data Documentation

boost::shared_ptr<ConstBranchDescription> edm::AliasGroup::bd_ [private]

Definition at line 370 of file Group.h.

Referenced by branchDescription_(), resetBranchDescription_(), and swap_().