CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends
edm::RunIndex Class Reference

#include "FWCore/Utilities/interface/RunIndex.h"

Public Member Functions

 operator unsigned int () const
 
RunIndexoperator= (const RunIndex &)=default
 
bool operator== (const RunIndex &iIndex) const
 
 RunIndex ()=delete
 
 RunIndex (const RunIndex &)=default
 
unsigned int value () const
 
 ~RunIndex ()=default
 

Static Public Member Functions

static RunIndex invalidRunIndex ()
 

Private Member Functions

 RunIndex (unsigned int iIndex)
 

Private Attributes

unsigned int value_
 

Static Private Attributes

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

Friends

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

Detailed Description

Description: Identifies a 'slot' being used to hold an active Run

Usage: Various APIs used this to access per Run information. It is important to realize that the same RunIndex may be used to refer to different Runs over the lifetime of a job. An RunIndex will only get a new Run after the previous Run using that index has finished being used.

Definition at line 32 of file RunIndex.h.

Constructor & Destructor Documentation

edm::RunIndex::~RunIndex ( )
default
edm::RunIndex::RunIndex ( )
delete

Referenced by invalidRunIndex().

edm::RunIndex::RunIndex ( const RunIndex )
default
edm::RunIndex::RunIndex ( unsigned int  iIndex)
inlineexplicitprivate

Definition at line 52 of file RunIndex.h.

52 : value_(iIndex) {}
unsigned int value_
Definition: RunIndex.h:55

Member Function Documentation

RunIndex edm::RunIndex::invalidRunIndex ( )
static
edm::RunIndex::operator unsigned int ( ) const
inline

Definition at line 41 of file RunIndex.h.

References value_.

41 { return value_; }
unsigned int value_
Definition: RunIndex.h:55
RunIndex& edm::RunIndex::operator= ( const RunIndex )
default
bool edm::RunIndex::operator== ( const RunIndex iIndex) const
inline

Definition at line 40 of file RunIndex.h.

References value().

40 { return value() == iIndex.value(); }
unsigned int value() const
Definition: RunIndex.h:45
unsigned int edm::RunIndex::value ( ) const
inline

Friends And Related Function Documentation

friend class RunPrincipal
friend

Only the RunPrincipal is allowed to make one of these.

Definition at line 51 of file RunIndex.h.

Member Data Documentation

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

Definition at line 57 of file RunIndex.h.

Referenced by invalidRunIndex().

unsigned int edm::RunIndex::value_
private

Definition at line 55 of file RunIndex.h.

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