CMS 3D CMS Logo

List of all members | 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, bool iIsSource, bool iIsLooper=false)
 
bool operator< (ComponentDescription const &iRHS) const
 
bool operator== (ComponentDescription const &iRHS) const
 

Public Attributes

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

Definition at line 41 of file ComponentDescription.h.

41 : label_(), type_(), isSource_(false), isLooper_(false), pid_() {}

◆ ComponentDescription() [2/2]

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

Definition at line 43 of file ComponentDescription.h.

44  : label_(iLabel), type_(iType), isSource_(iIsSource), isLooper_(iIsLooper), pid_() {}

Member Function Documentation

◆ operator<()

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

Definition at line 46 of file ComponentDescription.h.

46  {
47  return (type_ == iRHS.type_) ? (label_ < iRHS.label_) : (type_ < iRHS.type_);
48  }

References label_, and type_.

◆ operator==()

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

Definition at line 49 of file ComponentDescription.h.

49  {
50  return label_ == iRHS.label_ && type_ == iRHS.type_ && isSource_ == iRHS.isSource_;
51  }

References isSource_, label_, and type_.

Member Data Documentation

◆ 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_

Definition at line 37 of file ComponentDescription.h.

Referenced by trackerDTC::ProducerES::produce().

◆ type_

std::string edm::eventsetup::ComponentDescription::type_
edm::eventsetup::ComponentDescription::label_
std::string label_
Definition: ComponentDescription.h:31
edm::eventsetup::ComponentDescription::type_
std::string type_
Definition: ComponentDescription.h:32
edm::eventsetup::ComponentDescription::isSource_
bool isSource_
Definition: ComponentDescription.h:33
edm::eventsetup::ComponentDescription::isLooper_
bool isLooper_
Definition: ComponentDescription.h:34
edm::eventsetup::ComponentDescription::pid_
ParameterSetID pid_
Definition: ComponentDescription.h:37