CMS 3D CMS Logo

ParameterWildcardWithSpecifics.h
Go to the documentation of this file.
1 
2 #ifndef FWCore_ParameterSet_ParameterWildcardWithSpecifics_h
3 #define FWCore_ParameterSet_ParameterWildcardWithSpecifics_h
4 
5 #include <string>
6 #include <map>
9 
10 namespace edm {
11 
12  class ParameterSet;
13  class DocFormatHelper;
14 
16  public:
17  ParameterWildcardWithSpecifics(std::string_view,
19  bool isTracked,
21  std::map<std::string, ParameterSetDescription> exceptions);
22 
23  ParameterDescriptionNode* clone() const override;
24 
25  private:
26  void validate_(ParameterSet& pset, std::set<std::string>& validatedLabels, bool optional) const override;
27 
28  bool hasNestedContent_() const override;
29 
30  void printNestedContent_(std::ostream& os, bool optional, DocFormatHelper& dfh) const override;
31 
32  bool exists_(ParameterSet const& pset) const override;
33 
34  void validatePSetVector(std::string const& parameterName, ParameterSet& pset) const;
35 
36  void validateDescription(std::string const& parameterName, ParameterSet& pset) const;
37 
39  std::map<std::string, ParameterSetDescription> exceptions_;
40  };
41 } // namespace edm
42 #endif
edm::ParameterWildcardWithSpecifics::validateDescription
void validateDescription(std::string const &parameterName, ParameterSet &pset) const
Definition: ParameterWildcardWithSpecifics.cc:51
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::ParameterWildcardWithSpecifics::exists_
bool exists_(ParameterSet const &pset) const override
Definition: ParameterWildcardWithSpecifics.cc:90
Types.optional
optional
Definition: Types.py:198
edm::ParameterWildcardWithSpecifics::validatePSetVector
void validatePSetVector(std::string const &parameterName, ParameterSet &pset) const
edm::ParameterWildcardBase
Definition: ParameterWildcardBase.h:19
edm::ParameterWildcardWithSpecifics::exceptions_
std::map< std::string, ParameterSetDescription > exceptions_
Definition: ParameterWildcardWithSpecifics.h:39
edm::DocFormatHelper
Definition: DocFormatHelper.h:15
edm::ParameterWildcardWithSpecifics
Definition: ParameterWildcardWithSpecifics.h:15
edm::ParameterWildcardWithSpecifics::ParameterWildcardWithSpecifics
ParameterWildcardWithSpecifics(std::string_view, WildcardValidationCriteria criteria, bool isTracked, ParameterSetDescription const &desc, std::map< std::string, ParameterSetDescription > exceptions)
Definition: ParameterWildcardWithSpecifics.cc:14
edm::WildcardValidationCriteria
WildcardValidationCriteria
Definition: ParameterWildcardBase.h:17
ParameterSetDescription.h
edm::ParameterWildcardBase::isTracked
bool isTracked() const
Definition: ParameterWildcardBase.h:24
edm::ParameterWildcardWithSpecifics::hasNestedContent_
bool hasNestedContent_() const override
Definition: ParameterWildcardWithSpecifics.cc:61
edm::ParameterSet
Definition: ParameterSet.h:47
edm::ParameterWildcardWithSpecifics::wildcardDesc_
ParameterSetDescription wildcardDesc_
Definition: ParameterWildcardWithSpecifics.h:38
ParameterSet
Definition: Functions.h:16
edm::ParameterWildcardWithSpecifics::clone
ParameterDescriptionNode * clone() const override
Definition: ParameterWildcardWithSpecifics.cc:24
edm::ParameterWildcardWithSpecifics::validate_
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override
Definition: ParameterWildcardWithSpecifics.cc:28
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
edm::ParameterWildcardWithSpecifics::printNestedContent_
void printNestedContent_(std::ostream &os, bool optional, DocFormatHelper &dfh) const override
Definition: ParameterWildcardWithSpecifics.cc:63
ParameterWildcardBase.h
edm::ParameterWildcardBase::criteria
WildcardValidationCriteria criteria() const
Definition: ParameterWildcardBase.h:25
edm::ParameterDescriptionNode
Definition: ParameterDescriptionNode.h:82
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27