#include <IfExistsDescription.h>
Public Member Functions | |
virtual ParameterDescriptionNode * | clone () const |
IfExistsDescription (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right) | |
IfExistsDescription (std::unique_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right) | |
IfExistsDescription (ParameterDescriptionNode const &node_left, std::unique_ptr< ParameterDescriptionNode > node_right) | |
IfExistsDescription (std::unique_ptr< ParameterDescriptionNode > node_left, std::unique_ptr< ParameterDescriptionNode > node_right) | |
Public Member Functions inherited from edm::ParameterDescriptionNode | |
void | checkAndGetLabelsAndTypes (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, 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 > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const |
virtual bool | exists_ (ParameterSet const &pset) const |
virtual bool | hasNestedContent_ () 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 | printNestedContent_ (std::ostream &os, bool optional, DocFormatHelper &dfh) const |
void | throwIfDuplicateLabels (std::set< std::string > const &labelsLeft, std::set< std::string > const &labelsRight) const |
void | throwIfDuplicateTypes (std::set< ParameterTypes > const &types1, std::set< ParameterTypes > const &types2) 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 |
Private Attributes | |
edm::value_ptr< ParameterDescriptionNode > | node_left_ |
edm::value_ptr< ParameterDescriptionNode > | node_right_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::ParameterDescriptionNode | |
static void | printSpaces (std::ostream &os, int n) |
Protected Attributes inherited from edm::ParameterDescriptionNode | |
std::string | comment_ |
Definition at line 18 of file IfExistsDescription.h.
edm::IfExistsDescription::IfExistsDescription | ( | ParameterDescriptionNode const & | node_left, |
ParameterDescriptionNode const & | node_right | ||
) |
Definition at line 14 of file IfExistsDescription.cc.
Referenced by clone(), and IfExistsDescription().
edm::IfExistsDescription::IfExistsDescription | ( | std::unique_ptr< ParameterDescriptionNode > | node_left, |
ParameterDescriptionNode const & | node_right | ||
) |
Definition at line 21 of file IfExistsDescription.cc.
References IfExistsDescription().
edm::IfExistsDescription::IfExistsDescription | ( | ParameterDescriptionNode const & | node_left, |
std::unique_ptr< ParameterDescriptionNode > | node_right | ||
) |
Definition at line 28 of file IfExistsDescription.cc.
References IfExistsDescription().
edm::IfExistsDescription::IfExistsDescription | ( | std::unique_ptr< ParameterDescriptionNode > | node_left, |
std::unique_ptr< ParameterDescriptionNode > | node_right | ||
) |
Definition at line 35 of file IfExistsDescription.cc.
References checkAndGetLabelsAndTypes_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 43 of file IfExistsDescription.cc.
References node_left_, node_right_, throwIfDuplicateLabels(), throwIfDuplicateTypes(), and validate_().
Referenced by clone(), and IfExistsDescription().
|
inlinevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 32 of file IfExistsDescription.h.
References checkAndGetLabelsAndTypes_(), IfExistsDescription(), print_(), muonDTDigis_cfi::pset, validate_(), and writeCfi_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 205 of file IfExistsDescription.cc.
References node_left_, node_right_, and partiallyExists_().
Referenced by hasNestedContent_(), and printNestedContent_().
|
inlineprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 56 of file IfExistsDescription.h.
References exists_(), howManyXORSubNodesExist_(), partiallyExists_(), printNestedContent_(), throwIfDuplicateLabels(), and throwIfDuplicateTypes().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 222 of file IfExistsDescription.cc.
References edm::ParameterDescriptionNode::exists(), and throwIfDuplicateLabels().
Referenced by hasNestedContent_(), and partiallyExists_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 216 of file IfExistsDescription.cc.
References edm::ParameterDescriptionNode::exists(), and howManyXORSubNodesExist_().
Referenced by exists_(), and hasNestedContent_().
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 109 of file IfExistsDescription.cc.
References edm::DocFormatHelper::brief(), edm::ParameterDescriptionNode::comment(), edm::DocFormatHelper::commentWidth(), edm::DocFormatHelper::counter(), relativeConstraints::empty, edm::DocFormatHelper::indent(), edm::DocFormatHelper::indent2(), edm::DocFormatHelper::pass(), printNestedContent_(), edm::DocFormatHelper::section(), edm::DocFormatHelper::startColumn2(), and edm::DocFormatHelper::wrapAndPrintText().
Referenced by clone(), and writeCfi_().
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 155 of file IfExistsDescription.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), exists_(), edm::DocFormatHelper::indentation(), edm::DocFormatHelper::init(), node_left_, node_right_, edm::DocFormatHelper::offsetSectionContent(), edm::DocFormatHelper::OTHER, edm::DocFormatHelper::parent(), edm::ParameterDescriptionNode::printSpaces(), edm::DocFormatHelper::section(), edm::DocFormatHelper::setCounter(), edm::DocFormatHelper::setIndentation(), edm::DocFormatHelper::setParent(), edm::DocFormatHelper::setPass(), edm::DocFormatHelper::setSection(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::DocFormatHelper::TOP.
Referenced by hasNestedContent_(), and print_().
|
private |
Definition at line 228 of file IfExistsDescription.cc.
References Exception, edm::errors::LogicError, and throwIfDuplicateTypes().
Referenced by checkAndGetLabelsAndTypes_(), hasNestedContent_(), and howManyXORSubNodesExist_().
|
private |
Definition at line 256 of file IfExistsDescription.cc.
References Exception, edm::errors::LogicError, and edm::parameterTypeEnumToString().
Referenced by checkAndGetLabelsAndTypes_(), hasNestedContent_(), and throwIfDuplicateLabels().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 73 of file IfExistsDescription.cc.
References node_left_, node_right_, and writeCfi_().
Referenced by checkAndGetLabelsAndTypes_(), and clone().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 99 of file IfExistsDescription.cc.
References node_left_, node_right_, and print_().
Referenced by clone(), and validate_().
|
private |
Definition at line 76 of file IfExistsDescription.h.
Referenced by checkAndGetLabelsAndTypes_(), exists_(), printNestedContent_(), validate_(), and writeCfi_().
|
private |
Definition at line 77 of file IfExistsDescription.h.
Referenced by checkAndGetLabelsAndTypes_(), exists_(), printNestedContent_(), validate_(), and writeCfi_().