CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::ProductProvenance Class Reference

#include <ProductProvenance.h>

Public Member Functions

BranchID const & branchID () const
 
ProductProvenance makeProductProvenance () const
 
Parentage const & parentage () const
 
ParentageID const & parentageID () const
 
 ProductProvenance ()
 
 ProductProvenance (BranchID bid)
 
 ProductProvenance (BranchID bid, ParentageID id)
 
 ProductProvenance (BranchID bid, std::vector< BranchID > const &parents)
 
 ProductProvenance (BranchID bid, std::vector< BranchID > &&parents)
 
void write (std::ostream &os) const
 

Private Attributes

BranchID branchID_
 
ParentageID parentageID_
 

Detailed Description

Definition at line 24 of file ProductProvenance.h.

Constructor & Destructor Documentation

edm::ProductProvenance::ProductProvenance ( )

Definition at line 15 of file ProductProvenance.cc.

edm::ProductProvenance::ProductProvenance ( BranchID  bid)
explicit

Definition at line 17 of file ProductProvenance.cc.

17 : branchID_(std::move(bid)), parentageID_() {}
def move(src, dest)
Definition: eostools.py:511
edm::ProductProvenance::ProductProvenance ( BranchID  bid,
ParentageID  id 
)

Definition at line 19 of file ProductProvenance.cc.

20  : branchID_(std::move(bid)), parentageID_(std::move(edid)) {}
def move(src, dest)
Definition: eostools.py:511
edm::ProductProvenance::ProductProvenance ( BranchID  bid,
std::vector< BranchID > const &  parents 
)
edm::ProductProvenance::ProductProvenance ( BranchID  bid,
std::vector< BranchID > &&  parents 
)

Member Function Documentation

BranchID const& edm::ProductProvenance::branchID ( ) const
inline
ProductProvenance edm::ProductProvenance::makeProductProvenance ( ) const

Definition at line 38 of file ProductProvenance.cc.

38 { return *this; }
Parentage const & edm::ProductProvenance::parentage ( ) const
ParentageID const& edm::ProductProvenance::parentageID ( ) const
inline
void edm::ProductProvenance::write ( std::ostream &  os) const

Definition at line 48 of file ProductProvenance.cc.

References branchID(), and parentageID().

Referenced by pkg.AbstractPkg::generate(), and edm::operator<<().

48  {
49  os << "branch ID = " << branchID() << '\n';
50  os << "entry description ID = " << parentageID() << '\n';
51  }
BranchID const & branchID() const
ParentageID const & parentageID() const

Member Data Documentation

BranchID edm::ProductProvenance::branchID_
private

Definition at line 43 of file ProductProvenance.h.

Referenced by branchID().

ParentageID edm::ProductProvenance::parentageID_
private

Definition at line 44 of file ProductProvenance.h.

Referenced by parentage(), parentageID(), and ProductProvenance().