File indexing completed on 2024-05-23 03:13:12
0001 #ifndef FWCore_ParameterSet_EmptyGroupDescription_h
0002 #define FWCore_ParameterSet_EmptyGroupDescription_h
0003
0004 #include "FWCore/ParameterSet/interface/ParameterDescriptionNode.h"
0005
0006 #include <iosfwd>
0007 #include <set>
0008 #include <string>
0009
0010 namespace edm {
0011
0012 class ParameterSet;
0013 class DocFormatHelper;
0014
0015 class EmptyGroupDescription : public ParameterDescriptionNode {
0016 public:
0017 EmptyGroupDescription();
0018
0019 ParameterDescriptionNode* clone() const override { return new EmptyGroupDescription(*this); }
0020
0021 private:
0022 void checkAndGetLabelsAndTypes_(std::set<std::string>& usedLabels,
0023 std::set<ParameterTypes>& parameterTypes,
0024 std::set<ParameterTypes>& wildcardTypes) const override;
0025
0026 void validate_(ParameterSet& pset, std::set<std::string>& validatedLabels, bool optional) const override;
0027
0028 void writeCfi_(std::ostream& os,
0029 bool optional,
0030 bool& startWithComma,
0031 int indentation,
0032 CfiOptions&,
0033 bool& wroteSomething) const override;
0034
0035 void print_(std::ostream& os, bool optional, bool writeToCfi, DocFormatHelper& dfh) const override;
0036
0037 bool exists_(ParameterSet const& pset) const override;
0038
0039 bool partiallyExists_(ParameterSet const& pset) const override;
0040
0041 int howManyXORSubNodesExist_(ParameterSet const& pset) const override;
0042 };
0043 }
0044 #endif