CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
edm::ProductData Struct Reference

#include <ProductData.h>

Public Member Functions

boost::shared_ptr
< BranchDescription const >
const & 
branchDescription () const
 
WrapperInterfaceBase const * getInterface () const
 
 ProductData ()
 
 ProductData (boost::shared_ptr< BranchDescription const > bd)
 
 ProductData (void const *product, Provenance const &prov)
 
void resetBranchDescription (boost::shared_ptr< BranchDescription const > bd)
 
void resetProductData ()
 
void swap (ProductData &other)
 

Public Attributes

Provenance prov_
 
boost::shared_ptr< void const > wrapper_
 

Detailed Description

Definition at line 17 of file ProductData.h.

Constructor & Destructor Documentation

edm::ProductData::ProductData ( )

Definition at line 9 of file ProductData.cc.

9  :
10  wrapper_(),
11  prov_() {
12  }
Provenance prov_
Definition: ProductData.h:51
boost::shared_ptr< void const > wrapper_
Definition: ProductData.h:50
edm::ProductData::ProductData ( boost::shared_ptr< BranchDescription const >  bd)
explicit

Definition at line 14 of file ProductData.cc.

14  :
15  wrapper_(),
16  prov_(bd, ProductID()) {
17  }
Provenance prov_
Definition: ProductData.h:51
boost::shared_ptr< void const > wrapper_
Definition: ProductData.h:50
edm::ProductData::ProductData ( void const *  product,
Provenance const &  prov 
)

Definition at line 20 of file ProductData.cc.

20  :
21  wrapper_(product, do_nothing_deleter()),
22  prov_(prov) {
23  }
Provenance prov_
Definition: ProductData.h:51
boost::shared_ptr< void const > wrapper_
Definition: ProductData.h:50

Member Function Documentation

boost::shared_ptr<BranchDescription const> const& edm::ProductData::branchDescription ( ) const
inline

Definition at line 29 of file ProductData.h.

References edm::Provenance::constBranchDescriptionPtr(), and prov_.

Referenced by edm::InputProductHolder::branchDescription_(), and edm::ProducedProductHolder::branchDescription_().

29  {
31  }
Provenance prov_
Definition: ProductData.h:51
boost::shared_ptr< BranchDescription const > const & constBranchDescriptionPtr() const
Definition: Provenance.h:46
WrapperInterfaceBase const* edm::ProductData::getInterface ( ) const
inline
void edm::ProductData::resetBranchDescription ( boost::shared_ptr< BranchDescription const >  bd)

Definition at line 26 of file ProductData.cc.

References prov_, and edm::Provenance::setBranchDescription().

Referenced by edm::InputProductHolder::resetBranchDescription_(), and edm::ProducedProductHolder::resetBranchDescription_().

26  {
28  }
Provenance prov_
Definition: ProductData.h:51
void setBranchDescription(boost::shared_ptr< BranchDescription const > const &p)
Definition: Provenance.h:86
void edm::ProductData::resetProductData ( )
inline
void edm::ProductData::swap ( ProductData other)
inline

Definition at line 33 of file ProductData.h.

References prov_, edm::Provenance::swap(), std::swap(), and wrapper_.

Referenced by edm::swap().

33  {
34  std::swap(wrapper_, other.wrapper_);
35  prov_.swap(other.prov_);
36  }
Provenance prov_
Definition: ProductData.h:51
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
boost::shared_ptr< void const > wrapper_
Definition: ProductData.h:50
void swap(Provenance &)
Definition: Provenance.cc:84

Member Data Documentation

Provenance edm::ProductData::prov_
mutable
boost::shared_ptr<void const> edm::ProductData::wrapper_
mutable