#include <IfExistsDescription.h>
Public Member Functions | |
virtual ParameterDescriptionNode * | clone () const |
IfExistsDescription (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right) | |
IfExistsDescription (std::auto_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right) | |
IfExistsDescription (ParameterDescriptionNode const &node_left, std::auto_ptr< ParameterDescriptionNode > node_right) | |
IfExistsDescription (std::auto_ptr< ParameterDescriptionNode > node_left, std::auto_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 () |
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 () |
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_ () |
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) |
virtual void | printNestedContent_ (std::ostream &os, bool optional, DocFormatHelper &dfh) |
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().
edm::IfExistsDescription::IfExistsDescription | ( | std::auto_ptr< ParameterDescriptionNode > | node_left, |
ParameterDescriptionNode const & | node_right | ||
) |
Definition at line 21 of file IfExistsDescription.cc.
edm::IfExistsDescription::IfExistsDescription | ( | ParameterDescriptionNode const & | node_left, |
std::auto_ptr< ParameterDescriptionNode > | node_right | ||
) |
Definition at line 28 of file IfExistsDescription.cc.
edm::IfExistsDescription::IfExistsDescription | ( | std::auto_ptr< ParameterDescriptionNode > | node_left, |
std::auto_ptr< ParameterDescriptionNode > | node_right | ||
) |
Definition at line 35 of file IfExistsDescription.cc.
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 43 of file IfExistsDescription.cc.
References node_left_, node_right_, throwIfDuplicateLabels(), and throwIfDuplicateTypes().
|
inlinevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 32 of file IfExistsDescription.h.
References IfExistsDescription().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 205 of file IfExistsDescription.cc.
References node_left_, and node_right_.
|
inlineprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 56 of file IfExistsDescription.h.
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 222 of file IfExistsDescription.cc.
References edm::ParameterDescriptionNode::exists().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 216 of file IfExistsDescription.cc.
References edm::ParameterDescriptionNode::exists().
|
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(), edm::DocFormatHelper::section(), edm::DocFormatHelper::startColumn2(), and edm::DocFormatHelper::wrapAndPrintText().
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 155 of file IfExistsDescription.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), 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(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and edm::DocFormatHelper::TOP.
|
private |
Definition at line 228 of file IfExistsDescription.cc.
References Exception, edm::errors::LogicError, and contentValuesCheck::ss.
Referenced by checkAndGetLabelsAndTypes_().
|
private |
Definition at line 256 of file IfExistsDescription.cc.
References Exception, edm::errors::LogicError, edm::parameterTypeEnumToString(), and contentValuesCheck::ss.
Referenced by checkAndGetLabelsAndTypes_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 73 of file IfExistsDescription.cc.
References node_left_, and node_right_.
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 99 of file IfExistsDescription.cc.
References node_left_, and node_right_.
|
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_().