test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EmptyGroupDescription.cc
Go to the documentation of this file.
1 
4 
5 #include <ostream>
6 
7 namespace edm {
8 
11 
12  void
14  checkAndGetLabelsAndTypes_(std::set<std::string>& /*usedLabels*/,
15  std::set<ParameterTypes>& /*parameterTypes*/,
16  std::set<ParameterTypes>& /*wildcardTypes*/) const { }
17 
18  void
21  std::set<std::string>& /*validatedLabels*/,
22  bool /*optional*/) const { }
23 
24  void
26  writeCfi_(std::ostream&,
27  bool& /*startWithComma*/,
28  int /*indentation*/,
29  bool& /*wroteSomething*/) const { }
30 
31  void
33  print_(std::ostream& os,
34  bool /*optional*/,
35  bool /*writeToCfi*/,
36  DocFormatHelper& dfh) {
37 
38  if(dfh.pass() == 1) {
39 
40  dfh.indent(os);
41  os << "Empty group description\n";
42 
43  if(!dfh.brief()) {
44  os << "\n";
45  }
46  }
47  }
48 
49  bool
51  exists_(ParameterSet const&) const {
52  return true;
53  }
54 
55  bool
58  return exists(pset);
59  }
60 
61  int
64  return exists(pset) ? 1 : 0;
65  }
66 }
virtual void writeCfi_(std::ostream &os, bool &startWithComma, int indentation, bool &wroteSomething) const
virtual void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const
virtual void checkAndGetLabelsAndTypes_(std::set< std::string > &usedLabels, std::set< ParameterTypes > &parameterTypes, std::set< ParameterTypes > &wildcardTypes) const
virtual int howManyXORSubNodesExist_(ParameterSet const &pset) const
bool exists(ParameterSet const &pset) const
virtual bool exists_(ParameterSet const &pset) const
virtual void print_(std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh)
virtual bool partiallyExists_(ParameterSet const &pset) const
void indent(std::ostream &os) const