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

◆ ESProxyIndex() [2/4]

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

Definition at line 34 of file ESIndices.h.

34 : index_{iValue} {}

◆ ESProxyIndex() [3/4]

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

◆ ESProxyIndex() [4/4]

constexpr edm::ESProxyIndex::ESProxyIndex ( ESProxyIndex &&  )
constexprdefaultnoexcept

Member Function Documentation

◆ operator!=()

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

Definition at line 42 of file ESIndices.h.

42 { return iOther.index_ != index_; }

References index_.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==()

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

Definition at line 41 of file ESIndices.h.

41 { return iOther.index_ == index_; }

References index_.

◆ value()

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

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

edm::ESProxyIndex::index_
Value_t index_
Definition: ESIndices.h:47