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
WildcardValidationCriteria
void printNestedContent_(std::ostream &os, bool optional, DocFormatHelper &dfh) const override
bool exists_(ParameterSet const &pset) const override
void validateDescription(std::string const &parameterName, ParameterSet &pset) const
ParameterDescriptionNode * clone() const override
std::map< std::string, ParameterSetDescription > exceptions_
ParameterWildcardWithSpecifics(std::string_view, WildcardValidationCriteria criteria, bool isTracked, ParameterSetDescription const &desc, std::map< std::string, ParameterSetDescription > exceptions)
void validatePSetVector(std::string const &parameterName, ParameterSet &pset) const
optional
Definition: Types.py:198
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override
WildcardValidationCriteria criteria() const
HLT enums.