FWCore
ParameterSet
interface
allowedValues.h
Go to the documentation of this file.
1
#ifndef FWCore_ParameterSet_allowedValues_h
2
#define FWCore_ParameterSet_allowedValues_h
3
// -*- C++ -*-
4
//
5
// Package: ParameterSet
6
// Function: allowedValues
7
//
25
//
26
// Original Author: Chris Jones
27
// Created: Tue Jul 28 15:18:40 EDT 2020
28
//
29
30
#include "
FWCore/ParameterSet/interface/ParameterDescriptionCases.h
"
31
#include "
FWCore/ParameterSet/interface/EmptyGroupDescription.h
"
32
33
#include <memory>
34
35
namespace
edm
{
36
37
template
<
typename
T
,
typename
... ARGS>
38
std::unique_ptr<edm::ParameterDescriptionCases<T>>
allowedValues
(ARGS&&...
args
) {
39
return
(... || (std::forward<ARGS>(
args
) >>
edm::EmptyGroupDescription
()));
40
}
41
42
}
// namespace edm
43
44
#endif
EmptyGroupDescription.h
edm::allowedValues
std::unique_ptr< edm::ParameterDescriptionCases< T > > allowedValues(ARGS &&... args)
Definition:
allowedValues.h:38
ParameterDescriptionCases.h
edm::EmptyGroupDescription
Definition:
EmptyGroupDescription.h:15
writedatasetfile.args
args
Definition:
writedatasetfile.py:18
edm
HLT enums.
Definition:
AlignableModifier.h:19
T
long double T
Definition:
Basic3DVectorLD.h:48
Generated for CMSSW Reference Manual by
1.8.14