CMS 3D CMS Logo

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

#include <ESIndices.h>

Public Types

using Value_t = int
 

Public Member Functions

constexpr ESProxyIndex () noexcept=default
 
constexpr ESProxyIndex (Value_t iValue) noexcept
 
constexpr ESProxyIndex (ESProxyIndex const &) noexcept=default
 
constexpr ESProxyIndex (ESProxyIndex &&) noexcept=default
 
constexpr bool operator!= (ESProxyIndex iOther) const noexcept
 
constexpr ESProxyIndexoperator= (ESProxyIndex const &) noexcept=default
 
constexpr ESProxyIndexoperator= (ESProxyIndex &&) noexcept=default
 
constexpr bool operator== (ESProxyIndex 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

◆ ESProxyIndex() [1/4]

constexpr edm::ESProxyIndex::ESProxyIndex ( )
defaultnoexcept

◆ ESProxyIndex() [2/4]

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

Definition at line 34 of file ESIndices.h.

34 : index_{iValue} {}
Value_t index_
Definition: ESIndices.h:47

◆ ESProxyIndex() [3/4]

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

◆ ESProxyIndex() [4/4]

constexpr edm::ESProxyIndex::ESProxyIndex ( ESProxyIndex &&  )
defaultnoexcept

Member Function Documentation

◆ operator!=()

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

Definition at line 42 of file ESIndices.h.

References index_.

42 { return iOther.index_ != index_; }
Value_t index_
Definition: ESIndices.h:47

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==()

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

Definition at line 41 of file ESIndices.h.

References index_.

41 { return iOther.index_ == index_; }
Value_t index_
Definition: ESIndices.h:47

◆ value()

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

Member Data Documentation

◆ index_

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

Definition at line 47 of file ESIndices.h.

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