CMS 3D CMS Logo

Public Member Functions | Public Attributes

edm::eventsetup::ComponentDescription Struct Reference

#include <ComponentDescription.h>

List of all members.

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

edm::eventsetup::ComponentDescription::ComponentDescription ( ) [inline]

Definition at line 41 of file ComponentDescription.h.

                                :
             label_(),
             type_(),
             isSource_(false),
             isLooper_(false),
             pid_() {}
edm::eventsetup::ComponentDescription::ComponentDescription ( std::string const &  iType,
std::string const &  iLabel,
bool  iIsSource,
bool  iIsLooper = false 
) [inline]

Definition at line 48 of file ComponentDescription.h.

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

Member Function Documentation

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

Definition at line 58 of file ComponentDescription.h.

References label_, and type_.

                                                                {
            return (type_ == iRHS.type_) ? (label_ < iRHS.label_) : (type_<iRHS.type_);
         }
bool edm::eventsetup::ComponentDescription::operator== ( ComponentDescription const &  iRHS) const [inline]

Definition at line 61 of file ComponentDescription.h.

References isSource_, label_, and type_.

                                                                 {
            return label_ == iRHS.label_ &&
            type_ == iRHS.type_ &&
            isSource_ == iRHS.isSource_;
         }

Member Data Documentation