1 #ifndef FWCore_Utilities_ESGetToken_h
2 #define FWCore_Utilities_ESGetToken_h
24 class ESConsumesCollector;
27 namespace eventsetup {
28 class EventSetupRecord;
33 template <
typename ESProduct,
typename ESRecord>
54 template <
typename ADAPTER>
62 : ESGetToken(const_cast<
const ESGetToken<ESProduct, ESRecord>&>(iOther)) {}
68 return (*
this = iOther);
constexpr ESTokenIndex index() const noexcept
constexpr unsigned int transitionID() const noexcept
constexpr ESGetToken(unsigned int transitionID, ESTokenIndex index, char const *label) noexcept
constexpr char const * name() const noexcept
static constexpr ESTokenIndex invalidIndex() noexcept
constexpr ESGetToken< ESProduct, ESRecord > & operator=(ADAPTER &&iAdapter) noexcept
constexpr ESGetToken() noexcept=default
constexpr ESGetToken(ESGetToken< ESProduct, ESRecord > &iOther)
constexpr ESGetToken< ESProduct, ESRecord > & operator=(ESGetToken< ESProduct, ESRecord > &iOther) noexcept
constexpr bool isInitialized() const noexcept
unsigned int m_transitionID
constexpr ESGetToken< ESProduct, ESRecord > & operator=(ESGetToken< ESProduct, ESRecord > const &&iOther) noexcept
constexpr ESGetToken(ESGetToken< ESProduct, ESRecord > const &&iOther)
constexpr bool hasValidIndex() const noexcept