Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:50

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_(
0029         std::ostream& os, bool optional, bool& startWithComma, int indentation, bool& wroteSomething) const override;
0030 
0031     void print_(std::ostream& os, bool optional, bool writeToCfi, DocFormatHelper& dfh) const override;
0032 
0033     bool exists_(ParameterSet const& pset) const override;
0034 
0035     bool partiallyExists_(ParameterSet const& pset) const override;
0036 
0037     int howManyXORSubNodesExist_(ParameterSet const& pset) const override;
0038   };
0039 }  // namespace edm
0040 #endif