CMS 3D CMS Logo

ESPutTokenT.h
Go to the documentation of this file.
1 #ifndef Framework_TestProcessor_ESPutTokenT_h
2 #define Framework_TestProcessor_ESPutTokenT_h
3 // -*- C++ -*-
4 //
5 // Package: Framework/TestProcessor
6 // Class : ESPutTokenT
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Tue, 08 May 2018 19:46:32 GMT
19 //
20 
21 // system include files
22 
23 // user include files
24 
25 // forward declarations
26 namespace edm {
27  namespace test {
28  class TestProcessorConfig;
29 
30  template <typename T>
31  class ESPutTokenT {
32  public:
33  friend class TestProcessorConfig;
35 
36  int index() const { return index_; }
37 
38  static int undefinedIndex() { return -1; }
39 
40  private:
41  ESPutTokenT(int iIndex) : index_{iIndex} {};
42 
43  int index_;
44  };
45 
46  } // namespace test
47 } // namespace edm
48 
49 #endif
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::test::ESPutTokenT::index_
int index_
Definition: ESPutTokenT.h:41
edm::test::ESPutTokenT::index
int index() const
Definition: ESPutTokenT.h:36
edm::test::TestProcessorConfig
Definition: TestProcessor.h:91
edm::test::ESPutTokenT
Definition: ESPutTokenT.h:31
test
Definition: SmallWORMDict.h:13
edm::test::ESPutTokenT::undefinedIndex
static int undefinedIndex()
Definition: ESPutTokenT.h:38
edm::test::ESPutTokenT::ESPutTokenT
ESPutTokenT()
Definition: ESPutTokenT.h:34