CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
edm::ESTokenIndex Class Reference

#include <ESIndices.h>

Public Types

using Value_t = int
 

Public Member Functions

constexpr ESTokenIndex () noexcept=default
 
constexpr ESTokenIndex (Value_t iValue) noexcept
 
constexpr ESTokenIndex (ESTokenIndex const &) noexcept=default
 
constexpr ESTokenIndex (ESTokenIndex &&) noexcept=default
 
constexpr bool operator!= (ESTokenIndex iOther) const noexcept
 
constexpr ESTokenIndexoperator= (ESTokenIndex const &) noexcept=default
 
constexpr ESTokenIndexoperator= (ESTokenIndex &&) noexcept=default
 
constexpr bool operator== (ESTokenIndex iOther) const noexcept
 
constexpr Value_t value () const noexcept
 

Private Attributes

Value_t index_ = std::numeric_limits<Value_t>::max()
 

Detailed Description

Definition at line 54 of file ESIndices.h.

Member Typedef Documentation

Definition at line 56 of file ESIndices.h.

Constructor & Destructor Documentation

constexpr edm::ESTokenIndex::ESTokenIndex ( )
defaultnoexcept
constexpr edm::ESTokenIndex::ESTokenIndex ( Value_t  iValue)
inlineexplicitnoexcept

Definition at line 59 of file ESIndices.h.

References constexpr, noexcept, and edm::ESProxyIndex::operator=().

59 : index_{iValue} {}
Value_t index_
Definition: ESIndices.h:72
constexpr edm::ESTokenIndex::ESTokenIndex ( ESTokenIndex const &  )
defaultnoexcept
constexpr edm::ESTokenIndex::ESTokenIndex ( ESTokenIndex &&  )
defaultnoexcept

Member Function Documentation

constexpr bool edm::ESTokenIndex::operator!= ( ESTokenIndex  iOther) const
inlinenoexcept

Definition at line 67 of file ESIndices.h.

References edm::ESProxyIndex::index_.

67 { return iOther.index_ != index_; }
Value_t index_
Definition: ESIndices.h:72
constexpr ESTokenIndex& edm::ESTokenIndex::operator= ( ESTokenIndex const &  )
defaultnoexcept
constexpr ESTokenIndex& edm::ESTokenIndex::operator= ( ESTokenIndex &&  )
defaultnoexcept
constexpr bool edm::ESTokenIndex::operator== ( ESTokenIndex  iOther) const
inlinenoexcept

Definition at line 66 of file ESIndices.h.

References edm::ESProxyIndex::index_.

66 { return iOther.index_ == index_; }
Value_t index_
Definition: ESIndices.h:72
constexpr Value_t edm::ESTokenIndex::value ( ) const
inlinenoexcept

Definition at line 69 of file ESIndices.h.

References edm::ESProxyIndex::index_.

Referenced by average.Average::average(), edm::EDConsumerBase::labelFor(), and edm::operator<<().

69 { return index_; }
Value_t index_
Definition: ESIndices.h:72

Member Data Documentation

Value_t edm::ESTokenIndex::index_ = std::numeric_limits<Value_t>::max()
private

Definition at line 72 of file ESIndices.h.