CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Attributes

edm::RunID Class Reference

#include <RunID.h>

List of all members.

Public Member Functions

RunID next () const
bool operator!= (RunID const &iRHS) const
bool operator< (RunID const &iRHS) const
bool operator<= (RunID const &iRHS) const
bool operator== (RunID const &iRHS) const
bool operator> (RunID const &iRHS) const
bool operator>= (RunID const &iRHS) const
RunID previous () const
RunNumber_t run () const
 RunID ()
 RunID (RunNumber_t iRun)

Static Public Member Functions

static RunID firstValidRun ()
static RunNumber_t maxRunNumber ()

Private Attributes

RunNumber_t run_

Detailed Description

Definition at line 31 of file RunID.h.


Constructor & Destructor Documentation

edm::RunID::RunID ( ) [inline]

Definition at line 37 of file RunID.h.

Referenced by firstValidRun(), next(), and previous().

: run_(0) {}
edm::RunID::RunID ( RunNumber_t  iRun) [inline, explicit]

Definition at line 38 of file RunID.h.

                                       :
        run_(iRun) {}

Member Function Documentation

static RunID edm::RunID::firstValidRun ( ) [inline, static]

Definition at line 82 of file RunID.h.

References RunID().

                                   {
         return RunID(1);
      }
static RunNumber_t edm::RunID::maxRunNumber ( ) [inline, static]

Definition at line 78 of file RunID.h.

                                        {
         return 0xFFFFFFFFU;
      }
RunID edm::RunID::next ( void  ) const [inline]

Definition at line 47 of file RunID.h.

References run_, and RunID().

                         {
         return RunID(run_+1);
      }
bool edm::RunID::operator!= ( RunID const &  iRHS) const [inline]

Definition at line 60 of file RunID.h.

                                               {
         return !(*this == iRHS);
      }
bool edm::RunID::operator< ( RunID const &  iRHS) const [inline]

Definition at line 64 of file RunID.h.

References run_.

                                              {
         return run_ < iRHS.run_;
      }
bool edm::RunID::operator<= ( RunID const &  iRHS) const [inline]

Definition at line 67 of file RunID.h.

References run_.

                                               {
         return run_ <= iRHS.run_;
      }
bool edm::RunID::operator== ( RunID const &  iRHS) const [inline]

Definition at line 57 of file RunID.h.

References run_.

                                               {
         return iRHS.run_ == run_;
      }
bool edm::RunID::operator> ( RunID const &  iRHS) const [inline]

Definition at line 70 of file RunID.h.

References run_.

                                              {
         return run_ > iRHS.run_;
      }
bool edm::RunID::operator>= ( RunID const &  iRHS) const [inline]

Definition at line 73 of file RunID.h.

References run_.

                                               {
         return run_ >= iRHS.run_;
      }
RunID edm::RunID::previous ( ) const [inline]

Definition at line 50 of file RunID.h.

References run_, and RunID().

                             {
         if(run_ != 0) {
            return RunID(run_-1);
         }
         return RunID(0);
      }
RunNumber_t edm::RunID::run ( ) const [inline]

Member Data Documentation

Definition at line 93 of file RunID.h.

Referenced by next(), operator<(), operator<=(), operator==(), operator>(), operator>=(), previous(), and run().