CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 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 ( )
defaultnoexcept

◆ ESTokenIndex() [2/4]

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

Definition at line 60 of file ESIndices.h.

60 : index_{iValue} {}
Value_t index_
Definition: ESIndices.h:73

◆ ESTokenIndex() [3/4]

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

◆ ESTokenIndex() [4/4]

constexpr edm::ESTokenIndex::ESTokenIndex ( ESTokenIndex &&  )
defaultnoexcept

Member Function Documentation

◆ operator!=()

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

Definition at line 68 of file ESIndices.h.

References index_.

68 { return iOther.index_ != index_; }
Value_t index_
Definition: ESIndices.h:73

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==()

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

Definition at line 67 of file ESIndices.h.

References index_.

67 { return iOther.index_ == index_; }
Value_t index_
Definition: ESIndices.h:73

◆ value()

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

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().