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  bool& /*startWithComma*/,
21  int /*indentation*/,
22  bool& /*wroteSomething*/) const {}
23 
24  void EmptyGroupDescription::print_(std::ostream& os,
25  bool /*optional*/,
26  bool /*writeToCfi*/,
27  DocFormatHelper& dfh) const {
28  if (dfh.pass() == 1) {
29  dfh.indent(os);
30  os << "Empty group description\n";
31 
32  if (!dfh.brief()) {
33  os << "\n";
34  }
35  }
36  }
37 
38  bool EmptyGroupDescription::exists_(ParameterSet const&) const { return true; }
39 
40  bool EmptyGroupDescription::partiallyExists_(ParameterSet const& pset) const { return exists(pset); }
41 
42  int EmptyGroupDescription::howManyXORSubNodesExist_(ParameterSet const& pset) const { return exists(pset) ? 1 : 0; }
43 } // namespace edm
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override
int howManyXORSubNodesExist_(ParameterSet const &pset) const override
bool exists_(ParameterSet const &pset) const override
void print_(std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const override
bool partiallyExists_(ParameterSet const &pset) const override
bool exists(ParameterSet const &pset) const
void writeCfi_(std::ostream &os, bool &startWithComma, int indentation, bool &wroteSomething) const override
HLT enums.
void indent(std::ostream &os) const
void checkAndGetLabelsAndTypes_(std::set< std::string > &usedLabels, std::set< ParameterTypes > &parameterTypes, std::set< ParameterTypes > &wildcardTypes) const override