#include <ParameterWildcardBase.h>
Public Member Functions | |
WildcardValidationCriteria | criteria () const |
bool | isTracked () const |
ParameterTypes | type () const |
virtual | ~ParameterWildcardBase () |
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 |
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 &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 | |
virtual void | checkAndGetLabelsAndTypes_ (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const |
virtual int | howManyXORSubNodesExist_ (ParameterSet const &pset) const |
virtual bool | partiallyExists_ (ParameterSet const &pset) const |
virtual void | print_ (std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const |
virtual void | writeCfi_ (std::ostream &os, bool &startWithComma, int indentation, bool &wroteSomething) 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 24 of file ParameterWildcardBase.h.
|
virtual |
Definition at line 13 of file ParameterWildcardBase.cc.
|
protected |
Definition at line 15 of file ParameterWildcardBase.cc.
References throwIfInvalidPattern().
Referenced by criteria().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 69 of file ParameterWildcardBase.cc.
References print_(), and type().
Referenced by criteria(), and validateMatchingNames().
|
inline |
Definition at line 31 of file ParameterWildcardBase.h.
References checkAndGetLabelsAndTypes_(), criteria_, howManyXORSubNodesExist_(), isTracked(), ParameterWildcardBase(), partiallyExists_(), listBenchmarks::pattern, print_(), muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, throwIfInvalidPattern(), validateMatchingNames(), and writeCfi_().
Referenced by edm::ParameterWildcard< T >::exists_(), edm::ParameterWildcard< ParameterSetDescription >::exists_(), edm::ParameterWildcard< std::vector< ParameterSet > >::exists_(), and print_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 183 of file ParameterWildcardBase.cc.
References edm::ParameterDescriptionNode::exists().
Referenced by criteria(), and partiallyExists_().
|
inline |
Definition at line 30 of file ParameterWildcardBase.h.
References isTracked_.
Referenced by Types.PSet::clone(), Mixins._ParameterTypeBase::configTypeName(), criteria(), edm::ParameterWildcard< T >::exists_(), edm::ParameterWildcard< ParameterSetDescription >::exists_(), edm::ParameterWildcard< std::vector< ParameterSet > >::exists_(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Mixins.UsingBlock::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::ParameterWildcard< T >::validate_(), edm::ParameterWildcard< ParameterSetDescription >::validate_(), and edm::ParameterWildcard< std::vector< ParameterSet > >::validate_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 177 of file ParameterWildcardBase.cc.
References edm::ParameterDescriptionNode::exists(), and howManyXORSubNodesExist_().
Referenced by criteria(), and writeCfi_().
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 77 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(), edm::parameterTypeEnumToString(), edm::DocFormatHelper::pass(), edm::RequireAtLeastOne, edm::RequireExactlyOne, edm::RequireZeroOrMore, edm::DocFormatHelper::section(), edm::DocFormatHelper::setAtLeast1(), edm::DocFormatHelper::setAtLeast2(), edm::DocFormatHelper::setAtLeast3(), findQualityFiles::size, edm::DocFormatHelper::startColumn2(), type(), mitigatedMETSequence_cff::U, edm::DocFormatHelper::wrapAndPrintText(), and writeCfi_().
Referenced by checkAndGetLabelsAndTypes_(), and criteria().
|
protected |
Definition at line 25 of file ParameterWildcardBase.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by criteria(), edm::ParameterWildcard< T >::ParameterWildcard(), edm::ParameterWildcard< ParameterSetDescription >::ParameterWildcard(), edm::ParameterWildcard< std::vector< ParameterSet > >::ParameterWildcard(), and ParameterWildcardBase().
|
protected |
Definition at line 32 of file ParameterWildcardBase.cc.
References edm::errors::Configuration, Exception, edm::parameterTypeEnumToString(), AlCaHLTBitMon_QueryRunRegistry::string, type(), and validateMatchingNames().
|
inline |
Definition at line 29 of file ParameterWildcardBase.h.
References type_.
Referenced by checkAndGetLabelsAndTypes_(), print_(), throwIfInvalidPattern(), and validateMatchingNames().
|
protected |
Definition at line 45 of file ParameterWildcardBase.cc.
References checkAndGetLabelsAndTypes_(), edm::errors::Configuration, criteria_, Exception, edm::parameterTypeEnumToString(), edm::RequireAtLeastOne, edm::RequireExactlyOne, edm::RequireZeroOrMore, type(), and mitigatedMETSequence_cff::U.
Referenced by criteria(), throwIfInvalidPattern(), edm::ParameterWildcard< T >::validate_(), edm::ParameterWildcard< ParameterSetDescription >::validate_(), and edm::ParameterWildcard< std::vector< ParameterSet > >::validate_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 167 of file ParameterWildcardBase.cc.
References partiallyExists_().
Referenced by criteria(), and print_().
|
private |
Definition at line 68 of file ParameterWildcardBase.h.
Referenced by criteria(), and validateMatchingNames().
|
private |
Definition at line 67 of file ParameterWildcardBase.h.
Referenced by isTracked().
|
private |
Definition at line 66 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(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and type().