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 (ESTokenIndex &&) noexcept=default
 
constexpr ESTokenIndex (ESTokenIndex const &) noexcept=default
 
constexpr ESTokenIndex (Value_t iValue) noexcept
 
constexpr bool operator!= (ESTokenIndex iOther) const noexcept
 
constexpr ESTokenIndexoperator= (ESTokenIndex &&) noexcept=default
 
constexpr ESTokenIndexoperator= (ESTokenIndex const &) 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 55 of file ESIndices.h.

Member Typedef Documentation

◆ Value_t

Definition at line 57 of file ESIndices.h.

Constructor & Destructor Documentation

◆ ESTokenIndex() [1/4]

constexpr edm::ESTokenIndex::ESTokenIndex ( )
constexprdefaultnoexcept

◆ ESTokenIndex() [2/4]

constexpr edm::ESTokenIndex::ESTokenIndex ( Value_t  iValue)
inlineexplicitconstexprnoexcept

Definition at line 60 of file ESIndices.h.

60 : index_{iValue} {}

◆ ESTokenIndex() [3/4]

constexpr edm::ESTokenIndex::ESTokenIndex ( ESTokenIndex const &  )
constexprdefaultnoexcept

◆ ESTokenIndex() [4/4]

constexpr edm::ESTokenIndex::ESTokenIndex ( ESTokenIndex &&  )
constexprdefaultnoexcept

Member Function Documentation

◆ operator!=()

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

Definition at line 68 of file ESIndices.h.

68 { return iOther.index_ != index_; }

References index_.

◆ operator=() [1/2]

constexpr ESTokenIndex& edm::ESTokenIndex::operator= ( ESTokenIndex &&  )
constexprdefaultnoexcept

◆ operator=() [2/2]

constexpr ESTokenIndex& edm::ESTokenIndex::operator= ( ESTokenIndex const &  )
constexprdefaultnoexcept

◆ operator==()

constexpr bool edm::ESTokenIndex::operator== ( ESTokenIndex  iOther) const
inlineconstexprnoexcept

Definition at line 67 of file ESIndices.h.

67 { return iOther.index_ == index_; }

References index_.

◆ value()

constexpr Value_t edm::ESTokenIndex::value ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ index_

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

Definition at line 73 of file ESIndices.h.

Referenced by operator!=(), operator==(), and value().

edm::ESTokenIndex::index_
Value_t index_
Definition: ESIndices.h:73