CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
edm::EmptyGroupDescription Class Reference

#include <EmptyGroupDescription.h>

Inheritance diagram for edm::EmptyGroupDescription:
edm::ParameterDescriptionNode

Public Member Functions

virtual ParameterDescriptionNodeclone () const
 
 EmptyGroupDescription ()
 
- Public Member Functions inherited from edm::ParameterDescriptionNode
void checkAndGetLabelsAndTypes (std::set< std::string > &usedLabels, std::set< ParameterTypes > &parameterTypes, std::set< ParameterTypes > &wildcardTypes) const
 
std::string const & comment () const
 
bool exists (ParameterSet const &pset) const
 
bool hasNestedContent () const
 
int howManyXORSubNodesExist (ParameterSet const &pset) const
 
bool partiallyExists (ParameterSet const &pset) const
 
void print (std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const
 
void printNestedContent (std::ostream &os, bool optional, DocFormatHelper &dfh) const
 
void setComment (std::string const &value)
 
void setComment (char const *value)
 
void validate (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const
 
void writeCfi (std::ostream &os, bool &startWithComma, int indentation, bool &wroteSomething) const
 
virtual ~ParameterDescriptionNode ()
 

Private Member Functions

virtual void checkAndGetLabelsAndTypes_ (std::set< std::string > &usedLabels, std::set< ParameterTypes > &parameterTypes, std::set< ParameterTypes > &wildcardTypes) const
 
virtual bool exists_ (ParameterSet const &pset) const
 
virtual int howManyXORSubNodesExist_ (ParameterSet const &pset) const
 
virtual bool partiallyExists_ (ParameterSet const &pset) const
 
virtual void print_ (std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const
 
virtual void validate_ (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const
 
virtual void writeCfi_ (std::ostream &os, bool &startWithComma, int indentation, bool &wroteSomething) const
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::ParameterDescriptionNode
static void printSpaces (std::ostream &os, int n)
 
- Protected Member Functions inherited from edm::ParameterDescriptionNode
virtual bool hasNestedContent_ () const
 
virtual void printNestedContent_ (std::ostream &, bool, DocFormatHelper &) const
 
- Protected Attributes inherited from edm::ParameterDescriptionNode
std::string comment_
 

Detailed Description

Definition at line 15 of file EmptyGroupDescription.h.

Constructor & Destructor Documentation

edm::EmptyGroupDescription::EmptyGroupDescription ( )

Definition at line 10 of file EmptyGroupDescription.cc.

References checkAndGetLabelsAndTypes_().

Referenced by clone().

10 { }

Member Function Documentation

void edm::EmptyGroupDescription::checkAndGetLabelsAndTypes_ ( std::set< std::string > &  usedLabels,
std::set< ParameterTypes > &  parameterTypes,
std::set< ParameterTypes > &  wildcardTypes 
) const
privatevirtual

Implements edm::ParameterDescriptionNode.

Definition at line 14 of file EmptyGroupDescription.cc.

References validate_().

Referenced by clone(), and EmptyGroupDescription().

16  { }
virtual ParameterDescriptionNode* edm::EmptyGroupDescription::clone ( void  ) const
inlinevirtual
bool edm::EmptyGroupDescription::exists_ ( ParameterSet const &  pset) const
privatevirtual

Implements edm::ParameterDescriptionNode.

Definition at line 51 of file EmptyGroupDescription.cc.

References partiallyExists_().

Referenced by clone(), and print_().

51  {
52  return true;
53  }
int edm::EmptyGroupDescription::howManyXORSubNodesExist_ ( ParameterSet const &  pset) const
privatevirtual

Implements edm::ParameterDescriptionNode.

Definition at line 63 of file EmptyGroupDescription.cc.

References edm::ParameterDescriptionNode::exists().

Referenced by clone(), and partiallyExists_().

63  {
64  return exists(pset) ? 1 : 0;
65  }
bool exists(ParameterSet const &pset) const
bool edm::EmptyGroupDescription::partiallyExists_ ( ParameterSet const &  pset) const
privatevirtual

Implements edm::ParameterDescriptionNode.

Definition at line 57 of file EmptyGroupDescription.cc.

References edm::ParameterDescriptionNode::exists(), and howManyXORSubNodesExist_().

Referenced by clone(), and exists_().

57  {
58  return exists(pset);
59  }
bool exists(ParameterSet const &pset) const
void edm::EmptyGroupDescription::print_ ( std::ostream &  os,
bool  optional,
bool  writeToCfi,
DocFormatHelper dfh 
) const
privatevirtual

Reimplemented from edm::ParameterDescriptionNode.

Definition at line 33 of file EmptyGroupDescription.cc.

References edm::DocFormatHelper::brief(), exists_(), edm::DocFormatHelper::indent(), and edm::DocFormatHelper::pass().

Referenced by clone(), and writeCfi_().

36  {
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  }
void edm::EmptyGroupDescription::validate_ ( ParameterSet pset,
std::set< std::string > &  validatedLabels,
bool  optional 
) const
privatevirtual

Implements edm::ParameterDescriptionNode.

Definition at line 20 of file EmptyGroupDescription.cc.

References writeCfi_().

Referenced by checkAndGetLabelsAndTypes_(), and clone().

22  { }
void edm::EmptyGroupDescription::writeCfi_ ( std::ostream &  os,
bool &  startWithComma,
int  indentation,
bool &  wroteSomething 
) const
privatevirtual

Implements edm::ParameterDescriptionNode.

Definition at line 26 of file EmptyGroupDescription.cc.

References print_().

Referenced by clone(), and validate_().

29  { }