File indexing completed on 2024-04-06 12:13:10
0001 #ifndef Framework_TestProcessor_ESPutTokenT_h
0002 #define Framework_TestProcessor_ESPutTokenT_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 namespace edm {
0027 namespace test {
0028 class TestProcessorConfig;
0029
0030 template <typename T>
0031 class ESPutTokenT {
0032 public:
0033 friend class TestProcessorConfig;
0034 ESPutTokenT() : index_{undefinedIndex()} {}
0035
0036 int index() const { return index_; }
0037
0038 static int undefinedIndex() { return -1; }
0039
0040 private:
0041 ESPutTokenT(int iIndex) : index_{iIndex} {};
0042
0043 int index_;
0044 };
0045
0046 }
0047 }
0048
0049 #endif