CMS 3D CMS Logo

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

#include <ProductID.h>

Public Member Functions

ProductIndex id () const
 
bool isValid () const
 
unsigned int oldID () const
 
unsigned int & oldID ()
 
ProcessIndex processIndex () const
 
 ProductID ()
 
 ProductID (ProductIndex productIndex)
 
 ProductID (ProcessIndex processIndex, ProductIndex productIndex)
 
ProcessIndex productIndex () const
 
void reset ()
 
void swap (ProductID &other)
 

Private Attributes

unsigned int oldID_
 
ProcessIndex processIndex_
 
ProductIndex productIndex_
 

Detailed Description

Definition at line 27 of file ProductID.h.

Constructor & Destructor Documentation

edm::ProductID::ProductID ( )
inline

Definition at line 29 of file ProductID.h.

29  : processIndex_(0),
30  productIndex_(0),
31  oldID_(0) {}
unsigned int oldID_
Definition: ProductID.h:49
ProductIndex productIndex_
Definition: ProductID.h:48
ProcessIndex processIndex_
Definition: ProductID.h:47
edm::ProductID::ProductID ( ProductIndex  productIndex)
inlineexplicit

Definition at line 33 of file ProductID.h.

unsigned int oldID_
Definition: ProductID.h:49
ProcessIndex productIndex() const
Definition: ProductID.h:38
ProductIndex productIndex_
Definition: ProductID.h:48
ProcessIndex processIndex_
Definition: ProductID.h:47
edm::ProductID::ProductID ( ProcessIndex  processIndex,
ProductIndex  productIndex 
)
inline

Definition at line 34 of file ProductID.h.

34  :
unsigned int oldID_
Definition: ProductID.h:49
ProcessIndex productIndex() const
Definition: ProductID.h:38
ProductIndex productIndex_
Definition: ProductID.h:48
ProcessIndex processIndex_
Definition: ProductID.h:47
ProcessIndex processIndex() const
Definition: ProductID.h:37

Member Function Documentation

ProductIndex edm::ProductID::id ( void  ) const
inline
bool edm::ProductID::isValid ( void  ) const
inline
unsigned int edm::ProductID::oldID ( ) const
inline
unsigned int& edm::ProductID::oldID ( )
inline

Definition at line 43 of file ProductID.h.

References oldID_.

43 {return oldID_;}
unsigned int oldID_
Definition: ProductID.h:49
ProcessIndex edm::ProductID::processIndex ( ) const
inline

Definition at line 37 of file ProductID.h.

References processIndex_.

Referenced by edm::operator<(), edm::operator==(), and edm::productIDToBranchID().

37 {return processIndex_;}
ProcessIndex processIndex_
Definition: ProductID.h:47
ProcessIndex edm::ProductID::productIndex ( ) const
inline

Definition at line 38 of file ProductID.h.

References productIndex_.

Referenced by edm::operator<(), edm::operator==(), and edm::productIDToBranchID().

38 {return productIndex_;}
ProductIndex productIndex_
Definition: ProductID.h:48
void edm::ProductID::reset ( void  )
inline

Definition at line 40 of file ProductID.h.

References processIndex_, and productIndex_.

Referenced by BeautifulSoup.BeautifulStoneSoup::__init__(), and TrackClusterRemover::produce().

ProductIndex productIndex_
Definition: ProductID.h:48
ProcessIndex processIndex_
Definition: ProductID.h:47
void edm::ProductID::swap ( ProductID other)

Definition at line 17 of file ProductID.cc.

References oldID_, processIndex_, productIndex_, and std::swap().

Referenced by edm::swap(), and edm::Provenance::swap().

17  {
18  std::swap(processIndex_, other.processIndex_);
19  std::swap(productIndex_, other.productIndex_);
20  std::swap(oldID_, other.oldID_);
21  }
unsigned int oldID_
Definition: ProductID.h:49
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
ProductIndex productIndex_
Definition: ProductID.h:48
ProcessIndex processIndex_
Definition: ProductID.h:47

Member Data Documentation

unsigned int edm::ProductID::oldID_
private

Definition at line 49 of file ProductID.h.

Referenced by oldID(), and swap().

ProcessIndex edm::ProductID::processIndex_
private

Definition at line 47 of file ProductID.h.

Referenced by processIndex(), reset(), and swap().

ProductIndex edm::ProductID::productIndex_
private

Definition at line 48 of file ProductID.h.

Referenced by id(), isValid(), productIndex(), reset(), and swap().