CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
tuple optional
Definition: Types.py:198
void printNestedContent_(std::ostream &os, bool optional, DocFormatHelper &dfh) const override
bool exists_(ParameterSet const &pset) const override
ParameterDescriptionNode * clone() const override
void validatePSetVector(std::string const &parameterName, ParameterSet &pset) const
std::map< std::string, ParameterSetDescription > exceptions_
ParameterWildcardWithSpecifics(std::string_view, WildcardValidationCriteria criteria, bool isTracked, ParameterSetDescription const &desc, std::map< std::string, ParameterSetDescription > exceptions)
void validateDescription(std::string const &parameterName, ParameterSet &pset) const
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override
WildcardValidationCriteria criteria() const