#include <ParameterWildcardBase.h>
Public Member Functions | |
WildcardValidationCriteria | criteria () const |
bool | isTracked () const |
bool | isWildcard () const override |
ParameterTypes | type () const |
~ParameterWildcardBase () override | |
Public Member Functions inherited from edm::ParameterDescriptionNode | |
void | checkAndGetLabelsAndTypes (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const |
virtual ParameterDescriptionNode * | clone () const =0 |
std::string const & | comment () const |
bool | exists (ParameterSet const &pset) const |
bool | hasNestedContent () const |
int | howManyXORSubNodesExist (ParameterSet const &pset) 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, bool &wroteSomething) const |
virtual | ~ParameterDescriptionNode () |
Protected Member Functions | |
ParameterWildcardBase (ParameterTypes iType, bool isTracked, WildcardValidationCriteria criteria) | |
void | throwIfInvalidPattern (char const *pattern) const |
void | throwIfInvalidPattern (std::string const &pattern) const |
void | validateMatchingNames (std::vector< std::string > const &matchingNames, std::set< std::string > &validatedLabels, bool optional) const |
Protected Member Functions inherited from edm::ParameterDescriptionNode | |
virtual bool | exists_ (ParameterSet const &pset) const =0 |
virtual bool | hasNestedContent_ () const |
virtual void | printNestedContent_ (std::ostream &, bool, DocFormatHelper &) const |
virtual void | validate_ (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const =0 |
Private Member Functions | |
void | checkAndGetLabelsAndTypes_ (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const override |
int | howManyXORSubNodesExist_ (ParameterSet const &pset) const override |
bool | partiallyExists_ (ParameterSet const &pset) const override |
void | print_ (std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const override |
void | writeCfi_ (std::ostream &os, bool optional, bool &startWithComma, int indentation, bool &wroteSomething) const override |
virtual void | writeTemplate (std::ostream &os, int indentation) const |
Private Attributes | |
WildcardValidationCriteria | criteria_ |
bool | isTracked_ |
ParameterTypes | type_ |
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 19 of file ParameterWildcardBase.h.
|
override |
Definition at line 13 of file ParameterWildcardBase.cc.
|
protected |
Definition at line 15 of file ParameterWildcardBase.cc.
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 58 of file ParameterWildcardBase.cc.
References type().
|
inline |
Definition at line 25 of file ParameterWildcardBase.h.
References criteria_.
Referenced by edm::ParameterWildcardWithSpecifics::exists_(), edm::ParameterWildcard< T >::exists_(), edm::ParameterWildcard< ParameterSetDescription >::exists_(), and print_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 178 of file ParameterWildcardBase.cc.
References edm::ParameterDescriptionNode::exists(), and muonDTDigis_cfi::pset.
|
inline |
Definition at line 24 of file ParameterWildcardBase.h.
References isTracked_.
Referenced by Types.PSet::clone(), Mixins._ParameterTypeBase::configTypeName(), edm::ParameterWildcardWithSpecifics::exists_(), edm::ParameterWildcard< T >::exists_(), edm::ParameterWildcard< ParameterSetDescription >::exists_(), Mixins.UsingBlock::insertInto(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.EventID::insertInto(), Types.LuminosityBlockID::insertInto(), Types.LuminosityBlockRange::insertInto(), Types.EventRange::insertInto(), Types.InputTag::insertInto(), Types.ESInputTag::insertInto(), Types.FileInPath::insertInto(), Types.PSet::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), Types.vstring::insertInto(), Types.VLuminosityBlockID::insertInto(), Types.VInputTag::insertInto(), Types.VESInputTag::insertInto(), Types.VEventID::insertInto(), Types.VLuminosityBlockRange::insertInto(), Types.VEventRange::insertInto(), Types.VPSet::insertInto(), print_(), Mixins._ParameterTypeBase::pythonTypeName(), edm::ParameterWildcardWithSpecifics::validate_(), edm::ParameterWildcard< T >::validate_(), edm::ParameterWildcard< ParameterSetDescription >::validate_(), and writeCfi_().
|
inlineoverridevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 27 of file ParameterWildcardBase.h.
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 176 of file ParameterWildcardBase.cc.
References edm::ParameterDescriptionNode::exists(), and muonDTDigis_cfi::pset.
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 64 of file ParameterWildcardBase.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::column1(), edm::DocFormatHelper::column2(), edm::DocFormatHelper::column3(), edm::ParameterDescriptionNode::comment(), edm::DocFormatHelper::commentWidth(), edm::DocFormatHelper::counter(), criteria(), relativeConstraints::empty, edm::ParameterDescriptionNode::hasNestedContent(), edm::DocFormatHelper::indent(), edm::DocFormatHelper::indent2(), isTracked(), Types::optional, edm::parameterTypeEnumToString(), edm::DocFormatHelper::pass(), edm::RequireAtLeastOne, edm::RequireExactlyOne, edm::RequireZeroOrMore, edm::DocFormatHelper::section(), edm::DocFormatHelper::setAtLeast1(), edm::DocFormatHelper::setAtLeast2(), edm::DocFormatHelper::setAtLeast3(), contentValuesCheck::ss, edm::DocFormatHelper::startColumn2(), type(), mitigatedMETSequence_cff::U, and edm::DocFormatHelper::wrapAndPrintText().
|
protected |
Definition at line 20 of file ParameterWildcardBase.cc.
References topSingleLeptonDQM_PU_cfi::pattern, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::ParameterWildcard< T >::ParameterWildcard(), edm::ParameterWildcard< ParameterSetDescription >::ParameterWildcard(), edm::ParameterWildcard< std::vector< ParameterSet > >::ParameterWildcard(), and edm::ParameterWildcardWithSpecifics::ParameterWildcardWithSpecifics().
|
protected |
Definition at line 25 of file ParameterWildcardBase.cc.
References edm::errors::Configuration, Exception, edm::parameterTypeEnumToString(), topSingleLeptonDQM_PU_cfi::pattern, AlCaHLTBitMon_QueryRunRegistry::string, and type().
|
inline |
Definition at line 23 of file ParameterWildcardBase.h.
References type_.
Referenced by checkAndGetLabelsAndTypes_(), print_(), throwIfInvalidPattern(), validateMatchingNames(), and writeTemplate().
|
protected |
Definition at line 36 of file ParameterWildcardBase.cc.
References edm::errors::Configuration, criteria_, Exception, Types::optional, edm::parameterTypeEnumToString(), edm::RequireAtLeastOne, edm::RequireExactlyOne, edm::RequireZeroOrMore, type(), and mitigatedMETSequence_cff::U.
Referenced by edm::ParameterWildcardWithSpecifics::validate_(), edm::ParameterWildcard< T >::validate_(), and edm::ParameterWildcard< ParameterSetDescription >::validate_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 149 of file ParameterWildcardBase.cc.
References printContent_cfi::indentation, isTracked(), Types::optional, edm::ParameterDescriptionNode::printSpaces(), and writeTemplate().
|
privatevirtual |
Reimplemented in edm::ParameterWildcard< ParameterSetDescription >.
Definition at line 172 of file ParameterWildcardBase.cc.
References edm::parameterTypeEnumToString(), and type().
Referenced by writeCfi_().
|
private |
Definition at line 56 of file ParameterWildcardBase.h.
Referenced by criteria(), and validateMatchingNames().
|
private |
Definition at line 55 of file ParameterWildcardBase.h.
Referenced by isTracked().
|
private |
Definition at line 54 of file ParameterWildcardBase.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and type().