#include <ParameterWildcardWithSpecifics.h>
Public Member Functions | |
ParameterDescriptionNode * | clone () const override |
ParameterWildcardWithSpecifics (std::string_view, WildcardValidationCriteria criteria, bool isTracked, ParameterSetDescription const &desc, std::map< std::string, ParameterSetDescription > exceptions) | |
Public Member Functions inherited from edm::ParameterWildcardBase | |
WildcardValidationCriteria | criteria () const |
bool | isTracked () const |
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 |
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 () |
Private Member Functions | |
bool | exists_ (ParameterSet const &pset) const override |
bool | hasNestedContent_ () const override |
void | printNestedContent_ (std::ostream &os, bool optional, DocFormatHelper &dfh) const override |
void | validate_ (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override |
void | validateDescription (std::string const ¶meterName, ParameterSet &pset) const |
void | validatePSetVector (std::string const ¶meterName, ParameterSet &pset) const |
Private Attributes | |
std::map< std::string, ParameterSetDescription > | exceptions_ |
ParameterSetDescription | wildcardDesc_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::ParameterDescriptionNode | |
static void | printSpaces (std::ostream &os, int n) |
Protected Member Functions inherited from edm::ParameterWildcardBase | |
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 Attributes inherited from edm::ParameterDescriptionNode | |
std::string | comment_ |
Definition at line 15 of file ParameterWildcardWithSpecifics.h.
edm::ParameterWildcardWithSpecifics::ParameterWildcardWithSpecifics | ( | std::string_view | pattern, |
WildcardValidationCriteria | criteria, | ||
bool | isTracked, | ||
ParameterSetDescription const & | desc, | ||
std::map< std::string, ParameterSetDescription > | exceptions | ||
) |
Definition at line 14 of file ParameterWildcardWithSpecifics.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and edm::ParameterWildcardBase::throwIfInvalidPattern().
Referenced by clone().
|
overridevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 24 of file ParameterWildcardWithSpecifics.cc.
References ParameterWildcardWithSpecifics().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 90 of file ParameterWildcardWithSpecifics.cc.
References edm::ParameterWildcardBase::criteria(), edm::ParameterSet::empty(), edm::ParameterSet::getParameterNamesForType(), edm::ParameterWildcardBase::isTracked(), edm::RequireAtLeastOne, and edm::RequireZeroOrMore.
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 61 of file ParameterWildcardWithSpecifics.cc.
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 63 of file ParameterWildcardWithSpecifics.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), edm::DocFormatHelper::indentation(), edm::DocFormatHelper::offsetSectionContent(), edm::DocFormatHelper::OTHER, edm::DocFormatHelper::parent(), edm::ParameterSetDescription::print(), edm::ParameterDescriptionNode::printSpaces(), edm::DocFormatHelper::section(), edm::DocFormatHelper::setIndentation(), edm::DocFormatHelper::setParent(), edm::DocFormatHelper::setSection(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, edm::DocFormatHelper::TOP, and wildcardDesc_.
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 28 of file ParameterWildcardWithSpecifics.cc.
References edm::ParameterSet::addParameter(), edm::ParameterSet::addUntrackedParameter(), exceptions_, spr::find(), edm::ParameterSet::getParameterNamesForType(), edm::ParameterSet::insert(), edm::ParameterWildcardBase::isTracked(), mergeVDriftHistosByStation::name, findQualityFiles::v, validateDescription(), and edm::ParameterWildcardBase::validateMatchingNames().
|
private |
Definition at line 51 of file ParameterWildcardWithSpecifics.cc.
References exceptions_, edm::ParameterSet::getPSetForUpdate(), edm::ParameterSetDescription::validate(), and wildcardDesc_.
Referenced by validate_().
|
private |
|
private |
Definition at line 39 of file ParameterWildcardWithSpecifics.h.
Referenced by validate_(), and validateDescription().
|
private |
Definition at line 38 of file ParameterWildcardWithSpecifics.h.
Referenced by printNestedContent_(), and validateDescription().