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

ParameterDescriptionNodeclone () const override
 
 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
 
 ParameterDescriptionNode ()
 
 ParameterDescriptionNode (Comment const &iComment)
 
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 (char const *value)
 
void setComment (std::string const &value)
 
void validate (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const
 
void writeCfi (std::ostream &os, bool optional, bool &startWithComma, int indentation, bool &wroteSomething) const
 
virtual ~ParameterDescriptionNode ()
 

Private Member Functions

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

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

◆ EmptyGroupDescription()

edm::EmptyGroupDescription::EmptyGroupDescription ( )

Definition at line 9 of file EmptyGroupDescription.cc.

9 {}

Referenced by clone().

Member Function Documentation

◆ checkAndGetLabelsAndTypes_()

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

Implements edm::ParameterDescriptionNode.

Definition at line 11 of file EmptyGroupDescription.cc.

13  {}

◆ clone()

ParameterDescriptionNode* edm::EmptyGroupDescription::clone ( void  ) const
inlineoverridevirtual

Implements edm::ParameterDescriptionNode.

Definition at line 19 of file EmptyGroupDescription.h.

19 { return new EmptyGroupDescription(*this); }

References EmptyGroupDescription().

◆ exists_()

bool edm::EmptyGroupDescription::exists_ ( ParameterSet const &  pset) const
overrideprivatevirtual

Implements edm::ParameterDescriptionNode.

Definition at line 37 of file EmptyGroupDescription.cc.

37 { return true; }

◆ howManyXORSubNodesExist_()

int edm::EmptyGroupDescription::howManyXORSubNodesExist_ ( ParameterSet const &  pset) const
overrideprivatevirtual

Implements edm::ParameterDescriptionNode.

Definition at line 41 of file EmptyGroupDescription.cc.

41 { return exists(pset) ? 1 : 0; }

References edm::ParameterDescriptionNode::exists(), and muonDTDigis_cfi::pset.

◆ partiallyExists_()

bool edm::EmptyGroupDescription::partiallyExists_ ( ParameterSet const &  pset) const
overrideprivatevirtual

◆ print_()

void edm::EmptyGroupDescription::print_ ( std::ostream &  os,
bool  optional,
bool  writeToCfi,
DocFormatHelper dfh 
) const
overrideprivatevirtual

Reimplemented from edm::ParameterDescriptionNode.

Definition at line 23 of file EmptyGroupDescription.cc.

26  {
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  }

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

◆ validate_()

void edm::EmptyGroupDescription::validate_ ( ParameterSet pset,
std::set< std::string > &  validatedLabels,
bool  optional 
) const
overrideprivatevirtual

Implements edm::ParameterDescriptionNode.

Definition at line 15 of file EmptyGroupDescription.cc.

17  {}

◆ writeCfi_()

void edm::EmptyGroupDescription::writeCfi_ ( std::ostream &  os,
bool  optional,
bool &  startWithComma,
int  indentation,
bool &  wroteSomething 
) const
overrideprivatevirtual

Implements edm::ParameterDescriptionNode.

Definition at line 19 of file EmptyGroupDescription.cc.

20  {
21  }
edm::EmptyGroupDescription::EmptyGroupDescription
EmptyGroupDescription()
Definition: EmptyGroupDescription.cc:9
edm::ParameterDescriptionNode::exists
bool exists(ParameterSet const &pset) const
Definition: ParameterDescriptionNode.h:134
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27