CMS 3D CMS Logo

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

Public Member Functions

void clearProcess ()
 
ProductResolverIndex index () const
 
std::string const & instance () const
 
 Item (KindOfType kindOfType, TypeID const &typeID, std::string const &moduleLabel, std::string const &instance, std::string const &process, ProductResolverIndex index)
 
KindOfType kindOfType () const
 
std::string const & moduleLabel () const
 
bool operator< (Item const &right) const
 
std::string const & process () const
 
void setIndex (ProductResolverIndex v)
 
TypeID const & typeID () const
 

Private Attributes

ProductResolverIndex index_
 
std::string instance_
 
KindOfType kindOfType_
 
std::string moduleLabel_
 
std::string process_
 
TypeID typeID_
 

Detailed Description

Definition at line 315 of file ProductResolverIndexHelper.h.

Constructor & Destructor Documentation

edm::ProductResolverIndexHelper::Item::Item ( KindOfType  kindOfType,
TypeID const &  typeID,
std::string const &  moduleLabel,
std::string const &  instance,
std::string const &  process,
ProductResolverIndex  index 
)

Definition at line 660 of file ProductResolverIndexHelper.cc.

665  :
667  typeID_(typeID),
670  process_(process),
671  index_(index) {
672  }

Member Function Documentation

void edm::ProductResolverIndexHelper::Item::clearProcess ( )
inline
ProductResolverIndex edm::ProductResolverIndexHelper::Item::index ( ) const
inline

Definition at line 328 of file ProductResolverIndexHelper.h.

Referenced by BeautifulSoup.PageElement::insert().

328 { return index_; }
std::string const& edm::ProductResolverIndexHelper::Item::instance ( ) const
inline

Definition at line 326 of file ProductResolverIndexHelper.h.

KindOfType edm::ProductResolverIndexHelper::Item::kindOfType ( ) const
inline

Definition at line 323 of file ProductResolverIndexHelper.h.

std::string const& edm::ProductResolverIndexHelper::Item::moduleLabel ( ) const
inline

Definition at line 325 of file ProductResolverIndexHelper.h.

bool edm::ProductResolverIndexHelper::Item::operator< ( Item const &  right) const

Definition at line 675 of file ProductResolverIndexHelper.cc.

References instance_, kindOfType_, moduleLabel_, process_, and typeID_.

675  {
676  if (kindOfType_ < right.kindOfType_) return true;
677  if (kindOfType_ > right.kindOfType_) return false;
678  if (typeID_ < right.typeID_) return true;
679  if (typeID_ > right.typeID_) return false;
680  if (moduleLabel_ < right.moduleLabel_) return true;
681  if (moduleLabel_ > right.moduleLabel_) return false;
682  if (instance_ < right.instance_) return true;
683  if (instance_ > right.instance_) return false;
684  return process_ < right.process_;
685  }
std::string const& edm::ProductResolverIndexHelper::Item::process ( ) const
inline
void edm::ProductResolverIndexHelper::Item::setIndex ( ProductResolverIndex  v)
inline
TypeID const& edm::ProductResolverIndexHelper::Item::typeID ( ) const
inline

Member Data Documentation

ProductResolverIndex edm::ProductResolverIndexHelper::Item::index_
private

Definition at line 341 of file ProductResolverIndexHelper.h.

std::string edm::ProductResolverIndexHelper::Item::instance_
private

Definition at line 339 of file ProductResolverIndexHelper.h.

Referenced by operator<().

KindOfType edm::ProductResolverIndexHelper::Item::kindOfType_
private

Definition at line 336 of file ProductResolverIndexHelper.h.

Referenced by operator<().

std::string edm::ProductResolverIndexHelper::Item::moduleLabel_
private
std::string edm::ProductResolverIndexHelper::Item::process_
private

Definition at line 340 of file ProductResolverIndexHelper.h.

Referenced by operator<().

TypeID edm::ProductResolverIndexHelper::Item::typeID_
private

Definition at line 337 of file ProductResolverIndexHelper.h.

Referenced by operator<().