CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
edm::eventsetup::ComponentDescription Struct Reference

#include <ComponentDescription.h>

Public Member Functions

 ComponentDescription ()
 
 ComponentDescription (std::string const &iType, std::string const &iLabel, unsigned int iId, bool iIsSource, bool iIsLooper=false)
 
bool operator< (ComponentDescription const &iRHS) const
 
bool operator== (ComponentDescription const &iRHS) const
 

Static Public Member Functions

static constexpr unsigned int unknownID () noexcept
 

Public Attributes

unsigned int id_
 
bool isLooper_
 
bool isSource_
 
std::string label_
 
ParameterSetID pid_
 
std::string type_
 

Detailed Description

Description: minimal set of information to describe an EventSetup component (ESSource or ESProducer)

Usage: <usage>

Definition at line 30 of file ComponentDescription.h.

Constructor & Destructor Documentation

◆ ComponentDescription() [1/2]

edm::eventsetup::ComponentDescription::ComponentDescription ( )
inline

◆ ComponentDescription() [2/2]

edm::eventsetup::ComponentDescription::ComponentDescription ( std::string const &  iType,
std::string const &  iLabel,
unsigned int  iId,
bool  iIsSource,
bool  iIsLooper = false 
)
inline

Member Function Documentation

◆ operator<()

bool edm::eventsetup::ComponentDescription::operator< ( ComponentDescription const &  iRHS) const
inline

Definition at line 52 of file ComponentDescription.h.

References label_, and type_.

52  {
53  return (type_ == iRHS.type_) ? (label_ < iRHS.label_) : (type_ < iRHS.type_);
54  }

◆ operator==()

bool edm::eventsetup::ComponentDescription::operator== ( ComponentDescription const &  iRHS) const
inline

Definition at line 55 of file ComponentDescription.h.

References isSource_, label_, and type_.

55  {
56  return label_ == iRHS.label_ && type_ == iRHS.type_ && isSource_ == iRHS.isSource_;
57  }

◆ unknownID()

static constexpr unsigned int edm::eventsetup::ComponentDescription::unknownID ( )
inlinestaticnoexcept

Definition at line 50 of file ComponentDescription.h.

Referenced by edm::eventsetup::makeEventSetupProvider().

50 { return 0xFFFFFFFF; }

Member Data Documentation

◆ id_

unsigned int edm::eventsetup::ComponentDescription::id_

Definition at line 37 of file ComponentDescription.h.

◆ isLooper_

bool edm::eventsetup::ComponentDescription::isLooper_

◆ isSource_

bool edm::eventsetup::ComponentDescription::isSource_

◆ label_

std::string edm::eventsetup::ComponentDescription::label_

◆ pid_

ParameterSetID edm::eventsetup::ComponentDescription::pid_

◆ type_

std::string edm::eventsetup::ComponentDescription::type_