#include <AllowedLabelsDescription.h>
Public Member Functions | |
AllowedLabelsDescription (std::string const &label, bool isTracked) | |
AllowedLabelsDescription (char const *label, bool isTracked) | |
virtual ParameterDescriptionNode * | clone () const |
Private Member Functions | |
virtual void | validateAllowedLabel_ (std::string const &allowedLabel, ParameterSet &pset, std::set< std::string > &validatedLabels) const |
Definition at line 22 of file AllowedLabelsDescription.h.
edm::AllowedLabelsDescription< T >::AllowedLabelsDescription | ( | std::string const & | label, |
bool | isTracked | ||
) | [inline] |
Definition at line 25 of file AllowedLabelsDescription.h.
Referenced by edm::AllowedLabelsDescription< T >::clone(), and edm::AllowedLabelsDescription< ParameterSetDescription >::clone().
: AllowedLabelsDescriptionBase(label, ParameterTypeToEnum::toEnum<T>(), isTracked) { }
edm::AllowedLabelsDescription< T >::AllowedLabelsDescription | ( | char const * | label, |
bool | isTracked | ||
) | [inline] |
Definition at line 31 of file AllowedLabelsDescription.h.
: AllowedLabelsDescriptionBase(label, ParameterTypeToEnum::toEnum<T>(), isTracked) { }
virtual ParameterDescriptionNode* edm::AllowedLabelsDescription< T >::clone | ( | void | ) | const [inline, virtual] |
Implements edm::ParameterDescriptionNode.
Definition at line 37 of file AllowedLabelsDescription.h.
References edm::AllowedLabelsDescription< T >::AllowedLabelsDescription().
{ return new AllowedLabelsDescription(*this); }
virtual void edm::AllowedLabelsDescription< T >::validateAllowedLabel_ | ( | std::string const & | allowedLabel, |
ParameterSet & | pset, | ||
std::set< std::string > & | validatedLabels | ||
) | const [inline, private, virtual] |
Implements edm::AllowedLabelsDescriptionBase.
Definition at line 43 of file AllowedLabelsDescription.h.
References edm::ParameterSet::existsAs(), and edm::AllowedLabelsDescriptionBase::isTracked().
{ if (pset.existsAs<T>(allowedLabel, isTracked())) { validatedLabels.insert(allowedLabel); } }