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
int howManyXORSubNodesExist_(ParameterSet const &pset) const override
bool exists(ParameterSet const &pset) const
void writeCfi_(std::ostream &os, bool optional, bool &startWithComma, int indentation, bool &wroteSomething) const override
HLT enums.
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override
bool partiallyExists_(ParameterSet const &pset) const override
bool exists_(ParameterSet const &pset) const override
void indent(std::ostream &os) const
void checkAndGetLabelsAndTypes_(std::set< std::string > &usedLabels, std::set< ParameterTypes > &parameterTypes, std::set< ParameterTypes > &wildcardTypes) const override
void print_(std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const override