CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends
edm::ProcessBlockIndex Class Reference

#include <ProcessBlockIndex.h>

Public Member Functions

 operator unsigned int () const
 
ProcessBlockIndexoperator= (const ProcessBlockIndex &)=default
 
bool operator== (const ProcessBlockIndex &iIndex) const
 
 ProcessBlockIndex ()=delete
 
 ProcessBlockIndex (const ProcessBlockIndex &)=default
 
unsigned int value () const
 
 ~ProcessBlockIndex ()=default
 

Static Public Member Functions

static ProcessBlockIndex invalidProcessBlockIndex ()
 

Private Member Functions

 ProcessBlockIndex (unsigned int iIndex)
 

Private Attributes

unsigned int value_
 

Static Private Attributes

static const unsigned int invalidValue_ = std::numeric_limits<unsigned int>::max()
 

Friends

class ProcessBlockPrincipal
 Only the ProcessBlockPrincipal is allowed to make one of these. More...
 

Detailed Description

Description: Identifies a ProcessBlock

Usage:

Definition at line 21 of file ProcessBlockIndex.h.

Constructor & Destructor Documentation

◆ ProcessBlockIndex() [1/3]

edm::ProcessBlockIndex::ProcessBlockIndex ( )
delete

◆ ~ProcessBlockIndex()

edm::ProcessBlockIndex::~ProcessBlockIndex ( )
default

◆ ProcessBlockIndex() [2/3]

edm::ProcessBlockIndex::ProcessBlockIndex ( const ProcessBlockIndex )
default

◆ ProcessBlockIndex() [3/3]

edm::ProcessBlockIndex::ProcessBlockIndex ( unsigned int  iIndex)
inlineexplicitprivate

Definition at line 38 of file ProcessBlockIndex.h.

38 : value_(iIndex) {}

Member Function Documentation

◆ invalidProcessBlockIndex()

ProcessBlockIndex edm::ProcessBlockIndex::invalidProcessBlockIndex ( )
static

Definition at line 9 of file ProcessBlockIndex.cc.

References invalidValue_, and ProcessBlockIndex().

static const unsigned int invalidValue_

◆ operator unsigned int()

edm::ProcessBlockIndex::operator unsigned int ( ) const
inline

Definition at line 29 of file ProcessBlockIndex.h.

References value_.

29 { return value_; }

◆ operator=()

ProcessBlockIndex& edm::ProcessBlockIndex::operator= ( const ProcessBlockIndex )
default

◆ operator==()

bool edm::ProcessBlockIndex::operator== ( const ProcessBlockIndex iIndex) const
inline

Definition at line 28 of file ProcessBlockIndex.h.

References value().

28 { return value() == iIndex.value(); }
unsigned int value() const

◆ value()

unsigned int edm::ProcessBlockIndex::value ( ) const
inline

Definition at line 31 of file ProcessBlockIndex.h.

References value_.

Referenced by average.Average::average(), and operator==().

31 { return value_; }

Friends And Related Function Documentation

◆ ProcessBlockPrincipal

friend class ProcessBlockPrincipal
friend

Only the ProcessBlockPrincipal is allowed to make one of these.

Definition at line 37 of file ProcessBlockIndex.h.

Member Data Documentation

◆ invalidValue_

const unsigned int edm::ProcessBlockIndex::invalidValue_ = std::numeric_limits<unsigned int>::max()
staticprivate

Definition at line 42 of file ProcessBlockIndex.h.

Referenced by invalidProcessBlockIndex().

◆ value_

unsigned int edm::ProcessBlockIndex::value_
private

Definition at line 40 of file ProcessBlockIndex.h.

Referenced by operator unsigned int(), and value().