CMS 3D CMS Logo

EmptyGroupDescription.h
Go to the documentation of this file.
1 #ifndef FWCore_ParameterSet_EmptyGroupDescription_h
2 #define FWCore_ParameterSet_EmptyGroupDescription_h
3 
5 
6 #include <iosfwd>
7 #include <set>
8 #include <string>
9 
10 namespace edm {
11 
12  class ParameterSet;
13  class DocFormatHelper;
14 
16  public:
18 
19  ParameterDescriptionNode* clone() const override { return new EmptyGroupDescription(*this); }
20 
21  private:
22  void checkAndGetLabelsAndTypes_(std::set<std::string>& usedLabels,
23  std::set<ParameterTypes>& parameterTypes,
24  std::set<ParameterTypes>& wildcardTypes) const override;
25 
26  void validate_(ParameterSet& pset, std::set<std::string>& validatedLabels, bool optional) const override;
27 
28  void writeCfi_(
29  std::ostream& os, bool optional, bool& startWithComma, int indentation, bool& wroteSomething) const override;
30 
31  void print_(std::ostream& os, bool optional, bool writeToCfi, DocFormatHelper& dfh) const override;
32 
33  bool exists_(ParameterSet const& pset) const override;
34 
35  bool partiallyExists_(ParameterSet const& pset) const override;
36 
37  int howManyXORSubNodesExist_(ParameterSet const& pset) const override;
38  };
39 } // namespace edm
40 #endif
edm::EmptyGroupDescription::EmptyGroupDescription
EmptyGroupDescription()
Definition: EmptyGroupDescription.cc:9
edm::EmptyGroupDescription::clone
ParameterDescriptionNode * clone() const override
Definition: EmptyGroupDescription.h:19
edm
HLT enums.
Definition: AlignableModifier.h:19
Types.optional
optional
Definition: Types.py:199
edm::EmptyGroupDescription::howManyXORSubNodesExist_
int howManyXORSubNodesExist_(ParameterSet const &pset) const override
Definition: EmptyGroupDescription.cc:41
edm::EmptyGroupDescription::partiallyExists_
bool partiallyExists_(ParameterSet const &pset) const override
Definition: EmptyGroupDescription.cc:39
edm::DocFormatHelper
Definition: DocFormatHelper.h:15
ParameterDescriptionNode.h
edm::EmptyGroupDescription::validate_
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override
Definition: EmptyGroupDescription.cc:15
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
edm::EmptyGroupDescription::print_
void print_(std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const override
Definition: EmptyGroupDescription.cc:23
edm::EmptyGroupDescription::checkAndGetLabelsAndTypes_
void checkAndGetLabelsAndTypes_(std::set< std::string > &usedLabels, std::set< ParameterTypes > &parameterTypes, std::set< ParameterTypes > &wildcardTypes) const override
Definition: EmptyGroupDescription.cc:11
edm::EmptyGroupDescription::exists_
bool exists_(ParameterSet const &pset) const override
Definition: EmptyGroupDescription.cc:37
printContent_cfi.indentation
indentation
Definition: printContent_cfi.py:10
edm::EmptyGroupDescription::writeCfi_
void writeCfi_(std::ostream &os, bool optional, bool &startWithComma, int indentation, bool &wroteSomething) const override
Definition: EmptyGroupDescription.cc:19
edm::ParameterDescriptionNode
Definition: ParameterDescriptionNode.h:82
edm::EmptyGroupDescription
Definition: EmptyGroupDescription.h:15
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27