CMS 3D CMS Logo

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

#include <ESIndices.h>

Public Types

using Value_t = int
 

Public Member Functions

constexpr ESResolverIndex () noexcept=default
 
constexpr ESResolverIndex (Value_t iValue) noexcept
 
constexpr ESResolverIndex (ESResolverIndex const &) noexcept=default
 
constexpr ESResolverIndex (ESResolverIndex &&) noexcept=default
 
constexpr bool operator!= (ESResolverIndex iOther) const noexcept
 
constexpr ESResolverIndexoperator= (ESResolverIndex const &) noexcept=default
 
constexpr ESResolverIndexoperator= (ESResolverIndex &&) noexcept=default
 
constexpr bool operator== (ESResolverIndex iOther) const noexcept
 
constexpr Value_t value () const noexcept
 

Private Attributes

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

Detailed Description

Definition at line 30 of file ESIndices.h.

Member Typedef Documentation

◆ Value_t

Definition at line 32 of file ESIndices.h.

Constructor & Destructor Documentation

◆ ESResolverIndex() [1/4]

constexpr edm::ESResolverIndex::ESResolverIndex ( )
defaultnoexcept

◆ ESResolverIndex() [2/4]

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

Definition at line 34 of file ESIndices.h.

34 : index_{iValue} {}

◆ ESResolverIndex() [3/4]

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

◆ ESResolverIndex() [4/4]

constexpr edm::ESResolverIndex::ESResolverIndex ( ESResolverIndex &&  )
defaultnoexcept

Member Function Documentation

◆ operator!=()

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

Definition at line 42 of file ESIndices.h.

References index_.

42 { return iOther.index_ != index_; }

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==()

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

Definition at line 41 of file ESIndices.h.

References index_.

41 { return iOther.index_ == index_; }

◆ value()

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

Member Data Documentation

◆ index_

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

Definition at line 47 of file ESIndices.h.

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