CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::ProductID Class Reference

#include <ProductID.h>

List of all members.

Public Member Functions

ProductIndex id () const
bool isValid () const
ProcessIndex processIndex () const
 ProductID (ProductIndex prodIndex)
 ProductID ()
 ProductID (ProcessIndex procIndex, ProductIndex prodIndex)
ProcessIndex productIndex () const
void reset ()
void swap (ProductID &other)

Private Attributes

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.

edm::ProductID::ProductID ( ProductIndex  prodIndex) [inline, explicit]

Definition at line 32 of file ProductID.h.

: processIndex_(0), productIndex_(prodIndex) {}
edm::ProductID::ProductID ( ProcessIndex  procIndex,
ProductIndex  prodIndex 
) [inline]

Definition at line 33 of file ProductID.h.

                                                              :
      processIndex_(procIndex), productIndex_(prodIndex) {}

Member Function Documentation

ProductIndex edm::ProductID::id ( void  ) const [inline]
bool edm::ProductID::isValid ( void  ) const [inline]
ProcessIndex edm::ProductID::processIndex ( ) const [inline]
ProcessIndex edm::ProductID::productIndex ( ) const [inline]

Definition at line 37 of file ProductID.h.

References productIndex_.

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

{return productIndex_;}
void edm::ProductID::reset ( void  ) [inline]

Definition at line 39 of file ProductID.h.

References processIndex_, and productIndex_.

Referenced by SeedClusterRemover::produce(), and TrackClusterRemover::produce().

void edm::ProductID::swap ( ProductID other)

Definition at line 17 of file ProductID.cc.

References processIndex_, and productIndex_.

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

                                       {
    std::swap(processIndex_, other.processIndex_);
    std::swap(productIndex_, other.productIndex_);
  }

Member Data Documentation

Definition at line 44 of file ProductID.h.

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

Definition at line 45 of file ProductID.h.

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