#include <PluginDescription.h>
Public Member Functions | |
ParameterDescriptionNode * | clone () const final |
PluginDescription (std::string typeLabel, bool typeLabelIsTracked) | |
PluginDescription (std::string typeLabel, std::string defaultType, bool typeLabelIsTracked) | |
Public Member Functions inherited from edm::ParameterDescriptionNode | |
void | checkAndGetLabelsAndTypes (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const |
std::string const & | comment () const |
bool | exists (ParameterSet const &pset) const |
bool | hasNestedContent () const |
int | howManyXORSubNodesExist (ParameterSet const &pset) const |
virtual bool | isWildcard () const |
ParameterDescriptionNode () | |
ParameterDescriptionNode (Comment const &iComment) | |
bool | partiallyExists (ParameterSet const &pset) const |
void | print (std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const |
void | printNestedContent (std::ostream &os, bool optional, DocFormatHelper &dfh) const |
void | setComment (std::string const &value) |
void | setComment (char const *value) |
void | validate (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const |
void | writeCfi (std::ostream &os, bool optional, bool &startWithComma, int indentation, CfiOptions &options, bool &wroteSomething) const |
virtual | ~ParameterDescriptionNode () |
Protected Member Functions | |
void | checkAndGetLabelsAndTypes_ (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const final |
bool | exists_ (ParameterSet const &pset) const final |
bool | hasNestedContent_ () const final |
int | howManyXORSubNodesExist_ (ParameterSet const &pset) const final |
bool | partiallyExists_ (ParameterSet const &pset) const final |
void | printNestedContent_ (std::ostream &os, bool, DocFormatHelper &dfh) const final |
void | validate_ (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const final |
void | writeCfi_ (std::ostream &os, bool optional, bool &startWithComma, int indentation, CfiOptions &options, bool &wroteSomething) const final |
Protected Member Functions inherited from edm::ParameterDescriptionNode | |
virtual void | print_ (std::ostream &, bool, bool, DocFormatHelper &) const |
Private Member Functions | |
std::string | findType (edm::ParameterSet const &iPSet) const |
ParameterSetDescription | loadDescription (std::string const &iName) const |
Private Attributes | |
std::string | defaultType_ |
std::string | typeLabel_ |
bool | typeLabelIsTracked_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::ParameterDescriptionNode | |
static void | printSpaces (std::ostream &os, int n) |
Protected Attributes inherited from edm::ParameterDescriptionNode | |
std::string | comment_ |
Definition at line 100 of file PluginDescription.h.
|
inline |
Constructor without a default for typeLabel
[in] | typeLabel | the label for the std::string parameter which holds the plugin type to be loaded |
[in] | typeLabelIsTracked | 'true' if the parameter typeLabel is tracked, else should be false |
Definition at line 106 of file PluginDescription.h.
References eostools::move().
|
inline |
Constructor with a default for typeLabel
[in] | typeLabel | the label for the std::string parameter which holds the plugin type to be loaded |
[in] | defaultType | the default plugin type that should be loaded if no type is given |
[in] | typeLabelIsTracked | 'true' if the parameter typeLabel is tracked, else should be false |
Definition at line 114 of file PluginDescription.h.
References eostools::move().
|
inlinefinalprotectedvirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 123 of file PluginDescription.h.
|
inlinefinalvirtual |
|
inlinefinalprotectedvirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 237 of file PluginDescription.h.
References CMS_SA_ALLOW, muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, edm::PluginDescription< T >::typeLabel_, and edm::PluginDescription< T >::typeLabelIsTracked_.
Referenced by edm::PluginDescription< T >::partiallyExists_().
|
inlineprivate |
Definition at line 246 of file PluginDescription.h.
References CMS_SA_ALLOW, edm::PluginDescription< T >::defaultType_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), AlCaHLTBitMon_QueryRunRegistry::string, edm::PluginDescription< T >::typeLabel_, and edm::PluginDescription< T >::typeLabelIsTracked_.
Referenced by edm::PluginDescription< T >::validate_().
|
inlinefinalprotectedvirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 156 of file PluginDescription.h.
|
inlinefinalprotectedvirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 243 of file PluginDescription.h.
References edm::ParameterDescriptionNode::exists(), and muonDTDigis_cfi::pset.
|
inlineprivate |
Definition at line 261 of file PluginDescription.h.
References a, beamerCreator::create(), edm::PluginDescription< T >::defaultType_, submitPVResolutionJobs::desc, AlCaHLTBitMon_QueryRunRegistry::string, edm::PluginDescription< T >::typeLabel_, and edm::PluginDescription< T >::typeLabelIsTracked_.
Referenced by edm::PluginDescription< T >::printNestedContent_(), edm::PluginDescription< T >::validate_(), and edm::PluginDescription< T >::writeCfi_().
|
inlinefinalprotectedvirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 241 of file PluginDescription.h.
References edm::PluginDescription< T >::exists_(), and muonDTDigis_cfi::pset.
|
inlinefinalprotectedvirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 158 of file PluginDescription.h.
References spr::find(), edm::Factory::get(), edmplugin::PluginManager::get(), printContent_cfi::indentation, info(), edm::DocFormatHelper::init(), edm::PluginDescription< T >::loadDescription(), edm::DocFormatHelper::offsetSectionContent(), l1tGTMenu_BTagSeeds_cff::os, cond::pluginCategory(), edm::ParameterSetDescription::print(), edm::ParameterDescriptionNode::printSpaces(), edm::second(), hgcalPlots::section, edm::DocFormatHelper::setSection(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and edm::PluginDescription< T >::typeLabel_.
|
inlinefinalprotectedvirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 127 of file PluginDescription.h.
References edm::PluginDescription< T >::findType(), edm::PluginDescription< T >::loadDescription(), dqmiodumpmetadata::n, muonDTDigis_cfi::pset, and edm::ParameterSetDescription::validate().
|
inlinefinalprotectedvirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 134 of file PluginDescription.h.
References edmplugin::standard::config(), edmplugin::PluginManager::configure(), edm::PluginDescription< T >::defaultType_, printContent_cfi::indentation, edmplugin::PluginManager::isAvailable(), edm::PluginDescription< T >::loadDescription(), AlcaSiPixelAliHarvester0T_cff::options, l1tGTMenu_BTagSeeds_cff::os, edm::cfi::parameterMustBeTyped(), and edm::ParameterSetDescription::writeCfi().
|
private |
Definition at line 286 of file PluginDescription.h.
Referenced by edm::PluginDescription< T >::findType(), edm::PluginDescription< T >::loadDescription(), and edm::PluginDescription< T >::writeCfi_().
|
private |
Definition at line 285 of file PluginDescription.h.
Referenced by edm::PluginDescription< T >::exists_(), edm::PluginDescription< T >::findType(), edm::PluginDescription< T >::loadDescription(), and edm::PluginDescription< T >::printNestedContent_().
|
private |
Definition at line 287 of file PluginDescription.h.
Referenced by edm::PluginDescription< T >::exists_(), edm::PluginDescription< T >::findType(), and edm::PluginDescription< T >::loadDescription().