CMS 3D CMS Logo

List of all members | 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

Public Member Functions

 AllowedLabelsDescription (std::string const &label, bool isTracked)
 
 AllowedLabelsDescription (char const *label, bool isTracked)
 
ParameterDescriptionNodeclone () const override
 
 ~AllowedLabelsDescription () override
 
- Public Member Functions inherited from edm::AllowedLabelsDescriptionBase
bool isTracked () const
 
ParameterTypes type () const
 
 ~AllowedLabelsDescriptionBase () override
 
- Public Member Functions inherited from edm::ParameterDescriptionNode
void checkAndGetLabelsAndTypes (std::set< std::string > &usedLabels, std::set< ParameterTypes > &parameterTypes, 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
 
 ParameterDescriptionNode ()
 
 ParameterDescriptionNode (Comment const &iComment)
 
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

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

Additional Inherited Members

- Static Public Member Functions inherited from edm::ParameterDescriptionNode
static void printSpaces (std::ostream &os, int n)
 
- Protected Member Functions inherited from edm::AllowedLabelsDescriptionBase
 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) const
 
- Protected Attributes inherited from edm::ParameterDescriptionNode
std::string comment_
 

Detailed Description

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

Definition at line 23 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 32 of file AllowedLabelsDescription.h.

33  :
34  AllowedLabelsDescriptionBase(label, ParameterTypeToEnum::toEnum<T>(), isTracked)
35  {
36  }
AllowedLabelsDescriptionBase(std::string const &label, ParameterTypes iType, bool isTracked)
char const * label
template<class T >
edm::AllowedLabelsDescription< T >::~AllowedLabelsDescription ( )
inlineoverride

Definition at line 38 of file AllowedLabelsDescription.h.

39  {
40  }

Member Function Documentation

template<class T >
ParameterDescriptionNode* edm::AllowedLabelsDescription< T >::clone ( void  ) const
inlineoverridevirtual
template<class T >
void edm::AllowedLabelsDescription< T >::validateAllowedLabel_ ( std::string const &  allowedLabel,
ParameterSet pset,
std::set< std::string > &  validatedLabels 
) const
inlineoverrideprivatevirtual