CMS 3D CMS Logo

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

#include <ESIndices.h>

Public Types

using Value_t = unsigned int
 

Public Member Functions

constexpr ESRecordIndex () noexcept=default
 
constexpr ESRecordIndex (unsigned int iValue) noexcept
 
constexpr ESRecordIndex (ESRecordIndex const &) noexcept=default
 
constexpr ESRecordIndex (ESRecordIndex &&) noexcept=default
 
constexpr bool operator!= (ESRecordIndex iOther) const noexcept
 
constexpr ESRecordIndexoperator= (ESRecordIndex const &) noexcept=default
 
constexpr ESRecordIndexoperator= (ESRecordIndex &&) noexcept=default
 
constexpr bool operator== (ESRecordIndex iOther) const noexcept
 
constexpr Value_t value () const noexcept
 

Private Attributes

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

Detailed Description

Definition at line 79 of file ESIndices.h.

Member Typedef Documentation

using edm::ESRecordIndex::Value_t = unsigned int

Definition at line 81 of file ESIndices.h.

Constructor & Destructor Documentation

constexpr edm::ESRecordIndex::ESRecordIndex ( )
defaultnoexcept
constexpr edm::ESRecordIndex::ESRecordIndex ( unsigned int  iValue)
inlineexplicitnoexcept

Definition at line 84 of file ESIndices.h.

References constexpr, noexcept, and edm::ESProxyIndex::operator=().

84 : index_{iValue} {}
constexpr edm::ESRecordIndex::ESRecordIndex ( ESRecordIndex const &  )
defaultnoexcept
constexpr edm::ESRecordIndex::ESRecordIndex ( ESRecordIndex &&  )
defaultnoexcept

Member Function Documentation

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

Definition at line 92 of file ESIndices.h.

References edm::ESProxyIndex::index_.

92 { return iOther.index_ != index_; }
constexpr ESRecordIndex& edm::ESRecordIndex::operator= ( ESRecordIndex const &  )
defaultnoexcept
constexpr ESRecordIndex& edm::ESRecordIndex::operator= ( ESRecordIndex &&  )
defaultnoexcept
constexpr bool edm::ESRecordIndex::operator== ( ESRecordIndex  iOther) const
inlinenoexcept

Definition at line 91 of file ESIndices.h.

References edm::ESProxyIndex::index_.

91 { return iOther.index_ == index_; }
constexpr Value_t edm::ESRecordIndex::value ( ) const
inlinenoexcept

Definition at line 94 of file ESIndices.h.

References edm::ESProxyIndex::index_.

Referenced by average.Average::average(), and edm::operator<<().

94 { return index_; }

Member Data Documentation

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

Definition at line 97 of file ESIndices.h.