CMS 3D CMS Logo

EmptyGroupDescription.cc
Go to the documentation of this file.
1 
4 
5 #include <ostream>
6 
7 namespace edm {
8 
10 
11  void EmptyGroupDescription::checkAndGetLabelsAndTypes_(std::set<std::string>& /*usedLabels*/,
12  std::set<ParameterTypes>& /*parameterTypes*/,
13  std::set<ParameterTypes>& /*wildcardTypes*/) const {}
14 
16  std::set<std::string>& /*validatedLabels*/,
17  bool /*optional*/) const {}
18 
20  std::ostream&, bool /*optional*/, bool& /*startWithComma*/, int /*indentation*/, bool& /*wroteSomething*/) const {
21  }
22 
23  void EmptyGroupDescription::print_(std::ostream& os,
24  bool /*optional*/,
25  bool /*writeToCfi*/,
26  DocFormatHelper& dfh) const {
27  if (dfh.pass() == 1) {
28  dfh.indent(os);
29  os << "Empty group description\n";
30 
31  if (!dfh.brief()) {
32  os << "\n";
33  }
34  }
35  }
36 
37  bool EmptyGroupDescription::exists_(ParameterSet const&) const { return true; }
38 
40 
42 } // namespace edm
edm::EmptyGroupDescription::EmptyGroupDescription
EmptyGroupDescription()
Definition: EmptyGroupDescription.cc:9
edm::ParameterDescriptionNode::exists
bool exists(ParameterSet const &pset) const
Definition: ParameterDescriptionNode.h:134
edm
HLT enums.
Definition: AlignableModifier.h:19
EmptyGroupDescription.h
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
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:36
edm::DocFormatHelper::brief
bool brief() const
Definition: DocFormatHelper.h:34
edm::EmptyGroupDescription::print_
void print_(std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const override
Definition: EmptyGroupDescription.cc:23
edm::DocFormatHelper::indent
void indent(std::ostream &os) const
Definition: DocFormatHelper.cc:133
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
DocFormatHelper.h
edm::DocFormatHelper::pass
int pass() const
Definition: DocFormatHelper.h:46
edm::EmptyGroupDescription::writeCfi_
void writeCfi_(std::ostream &os, bool optional, bool &startWithComma, int indentation, bool &wroteSomething) const override
Definition: EmptyGroupDescription.cc:19
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27