#include <ParameterDescriptionNode.h>
Public Member Functions | |
void | checkAndGetLabelsAndTypes (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const |
virtual ParameterDescriptionNode * | clone () const =0 |
std::string const & | comment () const |
bool | exists (ParameterSet const &pset) const |
bool | hasNestedContent () |
int | howManyXORSubNodesExist (ParameterSet const &pset) const |
bool | partiallyExists (ParameterSet const &pset) const |
void | print (std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) |
void | printNestedContent (std::ostream &os, bool optional, DocFormatHelper &dfh) |
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 () |
Static Public Member Functions | |
static void | printSpaces (std::ostream &os, int n) |
Protected Member Functions | |
virtual void | checkAndGetLabelsAndTypes_ (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const =0 |
virtual bool | exists_ (ParameterSet const &pset) const =0 |
virtual bool | hasNestedContent_ () |
virtual int | howManyXORSubNodesExist_ (ParameterSet const &pset) const =0 |
virtual bool | partiallyExists_ (ParameterSet const &pset) const =0 |
virtual void | print_ (std::ostream &, bool, bool, DocFormatHelper &) |
virtual void | printNestedContent_ (std::ostream &, bool, DocFormatHelper &) |
virtual void | validate_ (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const =0 |
virtual void | writeCfi_ (std::ostream &os, bool &startWithComma, int indentation, bool &wroteSomething) const =0 |
Protected Attributes | |
std::string | comment_ |
Definition at line 69 of file ParameterDescriptionNode.h.
|
virtual |
Definition at line 89 of file ParameterDescriptionNode.cc.
|
inline |
Definition at line 210 of file ParameterDescriptionNode.h.
References checkAndGetLabelsAndTypes_().
Referenced by edm::ParameterSetDescription::addNode(), and edm::AllowedLabelsDescriptionBase::checkAndGetLabelsAndTypes_().
|
protectedpure virtual |
Implemented in edm::ParameterDescriptionBase, edm::ParameterSwitch< T >, edm::ParameterWildcardBase, edm::ANDGroupDescription, edm::IfExistsDescription, edm::ORGroupDescription, edm::XORGroupDescription, edm::AllowedLabelsDescriptionBase, and edm::EmptyGroupDescription.
Referenced by checkAndGetLabelsAndTypes().
|
pure virtual |
Implemented in edm::ParameterDescription< std::vector< ParameterSet > >, edm::ParameterDescription< ParameterSetDescription >, edm::ParameterDescription< T >, edm::ParameterDescription< std::vector< std::string > >, edm::ParameterWildcard< std::vector< ParameterSet > >, edm::AllowedLabelsDescription< std::vector< ParameterSet > >, edm::ParameterWildcard< ParameterSetDescription >, edm::AllowedLabelsDescription< ParameterSetDescription >, edm::ParameterSwitch< T >, edm::ParameterWildcard< T >, edm::AllowedLabelsDescription< T >, edm::ANDGroupDescription, edm::IfExistsDescription, edm::ORGroupDescription, edm::XORGroupDescription, and edm::EmptyGroupDescription.
Referenced by edm::ParameterSetDescription::addNode(), edm::ParameterSetDescription::addOptionalNode(), edm::value_ptr_traits< ParameterDescriptionNode >::clone(), and edm::operator>>().
|
inline |
Definition at line 77 of file ParameterDescriptionNode.h.
References comment_.
Referenced by edm::AllowedLabelsDescriptionBase::print_(), edm::XORGroupDescription::print_(), edm::ANDGroupDescription::print_(), edm::ORGroupDescription::print_(), edm::IfExistsDescription::print_(), edm::ParameterWildcardBase::print_(), edm::ParameterDescriptionBase::print_(), and edm::ParameterSwitchBase::printBase().
|
inline |
Definition at line 131 of file ParameterDescriptionNode.h.
References exists_().
Referenced by edm::AllowedLabelsDescriptionBase::exists_(), edm::EmptyGroupDescription::howManyXORSubNodesExist_(), edm::ParameterWildcardBase::howManyXORSubNodesExist_(), edm::AllowedLabelsDescriptionBase::howManyXORSubNodesExist_(), edm::IfExistsDescription::howManyXORSubNodesExist_(), edm::ANDGroupDescription::howManyXORSubNodesExist_(), edm::ORGroupDescription::howManyXORSubNodesExist_(), edm::ParameterDescriptionBase::howManyXORSubNodesExist_(), edm::ParameterSwitchBase::howManyXORSubNodesExist_(), edm::EmptyGroupDescription::partiallyExists_(), edm::ParameterWildcardBase::partiallyExists_(), edm::AllowedLabelsDescriptionBase::partiallyExists_(), edm::IfExistsDescription::partiallyExists_(), edm::XORGroupDescription::partiallyExists_(), edm::ORGroupDescription::partiallyExists_(), edm::ParameterDescriptionBase::partiallyExists_(), edm::ParameterSwitchBase::partiallyExists_(), edm::AllowedLabelsDescriptionBase::validate_(), edm::ParameterDescriptionBase::validate_(), and edm::ParameterDescription< ParameterSetDescription >::validate_().
|
protectedpure virtual |
Implemented in edm::ParameterDescription< std::vector< ParameterSet > >, edm::ParameterDescription< ParameterSetDescription >, edm::ParameterSwitch< T >, edm::ParameterDescription< T >, edm::ParameterDescription< std::vector< std::string > >, edm::ParameterWildcard< std::vector< ParameterSet > >, edm::ParameterWildcard< ParameterSetDescription >, edm::ANDGroupDescription, edm::IfExistsDescription, edm::ORGroupDescription, edm::XORGroupDescription, edm::AllowedLabelsDescriptionBase, edm::ParameterWildcard< T >, and edm::EmptyGroupDescription.
Referenced by exists().
|
inline |
Definition at line 116 of file ParameterDescriptionNode.h.
References hasNestedContent_().
Referenced by print(), edm::ParameterWildcardBase::print_(), edm::ParameterDescriptionBase::printDefault_(), and printNestedContent().
|
inlineprotectedvirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, edm::ParameterDescription< ParameterSetDescription >, edm::ParameterDescription< T >, edm::ParameterDescription< std::vector< std::string > >, edm::ParameterWildcard< std::vector< ParameterSet > >, edm::ParameterWildcard< ParameterSetDescription >, edm::ANDGroupDescription, edm::IfExistsDescription, edm::ORGroupDescription, edm::XORGroupDescription, edm::AllowedLabelsDescriptionBase, and edm::ParameterSwitchBase.
Definition at line 238 of file ParameterDescriptionNode.h.
Referenced by hasNestedContent().
|
inline |
Definition at line 154 of file ParameterDescriptionNode.h.
References howManyXORSubNodesExist_().
|
protectedpure virtual |
Implemented in edm::ParameterSwitchBase, edm::ParameterDescriptionBase, edm::ANDGroupDescription, edm::IfExistsDescription, edm::ORGroupDescription, edm::XORGroupDescription, edm::AllowedLabelsDescriptionBase, edm::ParameterWildcardBase, and edm::EmptyGroupDescription.
Referenced by howManyXORSubNodesExist().
|
inline |
Definition at line 139 of file ParameterDescriptionNode.h.
References partiallyExists_().
Referenced by edm::ANDGroupDescription::validate_().
|
protectedpure virtual |
Implemented in edm::ParameterSwitchBase, edm::ParameterDescriptionBase, edm::ANDGroupDescription, edm::IfExistsDescription, edm::ORGroupDescription, edm::XORGroupDescription, edm::AllowedLabelsDescriptionBase, edm::ParameterWildcardBase, and edm::EmptyGroupDescription.
Referenced by partiallyExists().
void edm::ParameterDescriptionNode::print | ( | std::ostream & | os, |
bool | optional, | ||
bool | writeToCfi, | ||
DocFormatHelper & | dfh | ||
) |
Definition at line 103 of file ParameterDescriptionNode.cc.
References hasNestedContent(), edm::DocFormatHelper::incrementCounter(), and print_().
Referenced by edm::AllowedLabelsDescriptionBase::printNestedContentBase_().
|
inlineprotectedvirtual |
Reimplemented in edm::ParameterSwitch< T >, edm::ParameterDescriptionBase, edm::ParameterWildcardBase, edm::ANDGroupDescription, edm::IfExistsDescription, edm::ORGroupDescription, edm::XORGroupDescription, edm::AllowedLabelsDescriptionBase, and edm::EmptyGroupDescription.
Definition at line 233 of file ParameterDescriptionNode.h.
Referenced by print().
void edm::ParameterDescriptionNode::printNestedContent | ( | std::ostream & | os, |
bool | optional, | ||
DocFormatHelper & | dfh | ||
) |
Definition at line 114 of file ParameterDescriptionNode.cc.
References hasNestedContent(), edm::DocFormatHelper::incrementCounter(), and printNestedContent_().
|
inlineprotectedvirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, edm::ParameterDescription< ParameterSetDescription >, edm::ParameterSwitch< T >, edm::ParameterWildcard< std::vector< ParameterSet > >, edm::AllowedLabelsDescription< std::vector< ParameterSet > >, edm::ParameterDescriptionBase, edm::ParameterWildcard< ParameterSetDescription >, edm::AllowedLabelsDescription< ParameterSetDescription >, edm::ANDGroupDescription, edm::IfExistsDescription, edm::ORGroupDescription, edm::XORGroupDescription, and edm::AllowedLabelsDescriptionBase.
Definition at line 242 of file ParameterDescriptionNode.h.
Referenced by printNestedContent().
|
static |
Definition at line 124 of file ParameterDescriptionNode.cc.
Referenced by edm::ANDGroupDescription::printNestedContent_(), edm::XORGroupDescription::printNestedContent_(), edm::IfExistsDescription::printNestedContent_(), edm::ORGroupDescription::printNestedContent_(), edm::AllowedLabelsDescription< ParameterSetDescription >::printNestedContent_(), edm::ParameterWildcard< ParameterSetDescription >::printNestedContent_(), edm::ParameterDescriptionBase::printNestedContent_(), edm::ParameterDescription< ParameterSetDescription >::printNestedContent_(), edm::ParameterSwitchBase::printNestedContentBase(), edm::AllowedLabelsDescriptionBase::printNestedContentBase_(), and edm::ParameterDescriptionBase::writeCfi_().
void edm::ParameterDescriptionNode::setComment | ( | std::string const & | value | ) |
Definition at line 93 of file ParameterDescriptionNode.cc.
References comment_, and relativeConstraints::value.
Referenced by reco::helper::JetIDHelper::fillDescription(), pat::helper::KinResolutionsLoader::fillDescription(), edm::AsciiOutputModule::fillDescriptions(), edm::service::ResourceEnforcer::fillDescriptions(), PixelVertexCollectionTrimmer::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), edm::EventSetupRecordDataGetter::fillDescriptions(), pat::PATMuonProducer::fillDescriptions(), pat::PATTauProducer::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), edm::service::EnableFloatingPointExceptions::fillDescriptions(), and edm::EventContentAnalyzer::fillDescriptions().
void edm::ParameterDescriptionNode::setComment | ( | char const * | value | ) |
Definition at line 98 of file ParameterDescriptionNode.cc.
References comment_, and relativeConstraints::value.
|
inline |
Definition at line 87 of file ParameterDescriptionNode.h.
References validate_().
Referenced by edm::AllowedLabelsDescriptionBase::validate_().
|
protectedpure virtual |
Implemented in edm::ParameterDescription< std::vector< ParameterSet > >, edm::ParameterDescription< ParameterSetDescription >, edm::ParameterWildcard< std::vector< ParameterSet > >, edm::ParameterWildcard< ParameterSetDescription >, edm::ParameterSwitch< T >, edm::ParameterDescriptionBase, edm::ParameterWildcard< T >, edm::ANDGroupDescription, edm::IfExistsDescription, edm::ORGroupDescription, edm::XORGroupDescription, edm::AllowedLabelsDescriptionBase, and edm::EmptyGroupDescription.
Referenced by validate().
|
inline |
Definition at line 103 of file ParameterDescriptionNode.h.
References writeCfi_().
Referenced by edm::AllowedLabelsDescriptionBase::writeCfi_().
|
protectedpure virtual |
|
protected |
Definition at line 252 of file ParameterDescriptionNode.h.
Referenced by comment(), and setComment().