#include <AllowedLabelsDescriptionBase.h>
Public Member Functions | |
bool | isTracked () const |
ParameterTypes | type () const |
virtual | ~AllowedLabelsDescriptionBase () |
Public Member Functions inherited from edm::ParameterDescriptionNode | |
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 () |
Protected Member Functions | |
AllowedLabelsDescriptionBase (std::string const &label, ParameterTypes iType, bool isTracked) | |
AllowedLabelsDescriptionBase (char const *label, ParameterTypes iType, bool isTracked) | |
void | printNestedContentBase_ (std::ostream &os, bool optional, DocFormatHelper &dfh) |
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) |
virtual void | validate_ (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const |
virtual void | validateAllowedLabel_ (std::string const &allowedLabel, ParameterSet &pset, std::set< std::string > &validatedLabels) const =0 |
virtual void | writeCfi_ (std::ostream &os, bool &startWithComma, int indentation, bool &wroteSomething) const |
Private Attributes | |
bool | isTracked_ |
ParameterDescription < std::vector< std::string > > | parameterHoldingLabels_ |
ParameterTypes | type_ |
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 16 of file AllowedLabelsDescriptionBase.h.
|
virtual |
Definition at line 13 of file AllowedLabelsDescriptionBase.cc.
|
protected |
Definition at line 16 of file AllowedLabelsDescriptionBase.cc.
|
protected |
Definition at line 23 of file AllowedLabelsDescriptionBase.cc.
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 32 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::checkAndGetLabelsAndTypes(), and parameterHoldingLabels_.
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 171 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), and parameterHoldingLabels_.
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 119 of file AllowedLabelsDescriptionBase.cc.
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 183 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists().
|
inline |
Definition at line 22 of file AllowedLabelsDescriptionBase.h.
References isTracked_.
Referenced by printNestedContentBase_(), validate_(), and edm::AllowedLabelsDescription< T >::validateAllowedLabel_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 177 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists().
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 73 of file AllowedLabelsDescriptionBase.cc.
References edm::DocFormatHelper::brief(), edm::ParameterDescriptionNode::comment(), edm::DocFormatHelper::commentWidth(), edm::DocFormatHelper::counter(), relativeConstraints::empty, edm::DocFormatHelper::indent(), edm::DocFormatHelper::indent2(), edm::ParameterDescriptionBase::label(), parameterHoldingLabels_, edm::DocFormatHelper::pass(), edm::DocFormatHelper::section(), edm::DocFormatHelper::startColumn2(), and edm::DocFormatHelper::wrapAndPrintText().
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Reimplemented in edm::AllowedLabelsDescription< std::vector< ParameterSet > >, and edm::AllowedLabelsDescription< ParameterSetDescription >.
Definition at line 126 of file AllowedLabelsDescriptionBase.cc.
References edm::DocFormatHelper::brief(), and printNestedContentBase_().
|
protected |
Definition at line 135 of file AllowedLabelsDescriptionBase.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), edm::DocFormatHelper::indent(), edm::DocFormatHelper::indent2(), edm::DocFormatHelper::indentation(), edm::DocFormatHelper::init(), isTracked(), edm::ParameterDescriptionBase::label(), edm::DocFormatHelper::offsetSectionContent(), parameterHoldingLabels_, edm::parameterTypeEnumToString(), edm::DocFormatHelper::parent(), edm::ParameterDescriptionNode::print(), edm::ParameterDescriptionNode::printSpaces(), edm::DocFormatHelper::section(), edm::DocFormatHelper::setPass(), edm::DocFormatHelper::TOP, and type().
Referenced by printNestedContent_().
|
inline |
Definition at line 21 of file AllowedLabelsDescriptionBase.h.
References type_.
Referenced by printNestedContentBase_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 41 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), edm::for_all(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isTracked(), edm::ParameterDescriptionBase::label(), parameterHoldingLabels_, edm::ParameterDescriptionNode::validate(), and validateAllowedLabel_().
|
privatepure virtual |
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 64 of file AllowedLabelsDescriptionBase.cc.
References parameterHoldingLabels_, and edm::ParameterDescriptionNode::writeCfi().
|
private |
Definition at line 73 of file AllowedLabelsDescriptionBase.h.
Referenced by isTracked().
|
private |
Definition at line 71 of file AllowedLabelsDescriptionBase.h.
Referenced by checkAndGetLabelsAndTypes_(), exists_(), print_(), printNestedContentBase_(), validate_(), and writeCfi_().
|
private |
Definition at line 72 of file AllowedLabelsDescriptionBase.h.
Referenced by RandomRunSource.RandomRunSource::insertInto(), and type().