CMS 3D CMS Logo

Public Member Functions | Private Member Functions

edm::AllowedLabelsDescription< T > Class Template Reference

#include <AllowedLabelsDescription.h>

Inheritance diagram for edm::AllowedLabelsDescription< T >:
edm::AllowedLabelsDescriptionBase edm::ParameterDescriptionNode

List of all members.

Public Member Functions

 AllowedLabelsDescription (std::string const &label, bool isTracked)
 AllowedLabelsDescription (char const *label, bool isTracked)
virtual ParameterDescriptionNodeclone () const

Private Member Functions

virtual void validateAllowedLabel_ (std::string const &allowedLabel, ParameterSet &pset, std::set< std::string > &validatedLabels) const

Detailed Description

template<class T>
class edm::AllowedLabelsDescription< T >

Definition at line 22 of file AllowedLabelsDescription.h.


Constructor & Destructor Documentation

template<class T >
edm::AllowedLabelsDescription< T >::AllowedLabelsDescription ( std::string const &  label,
bool  isTracked 
) [inline]
template<class T >
edm::AllowedLabelsDescription< T >::AllowedLabelsDescription ( char const *  label,
bool  isTracked 
) [inline]

Definition at line 31 of file AllowedLabelsDescription.h.

                                             :
      AllowedLabelsDescriptionBase(label, ParameterTypeToEnum::toEnum<T>(), isTracked)
    {
    }

Member Function Documentation

template<class T >
virtual ParameterDescriptionNode* edm::AllowedLabelsDescription< T >::clone ( void  ) const [inline, virtual]
template<class T >
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);
      }
    }