#include <RunNumber.h>
Public Member Functions | |
uint32_t | code (void) const |
uint32_t | code (void) const |
uint32_t | number (void) const |
uint32_t | number (void) const |
RunNumber (uint32_t rn) | |
RunNumber (eformat::RunType type, uint32_t n) | |
RunNumber (uint32_t rn) | |
RunNumber (eformat::RunType type, uint32_t n) | |
eformat::RunType | type (void) const |
eformat::RunType | type (void) const |
Private Attributes | |
uint32_t | m_n |
This run number. | |
eformat::RunType | m_type |
This run type. |
|
Constructor. Takes the components to form a run number
|
|
Constructor. Takes the run number to understand the components from.
|
|
Constructor. Takes the components to form a run number
|
|
Constructor. Takes the run number to understand the components from.
|
|
Gets the full 32-bit number made by assembling the 2 numbers above. |
|
Gets the full 32-bit number made by assembling the 2 numbers above. 00022 {
00023 uint32_t retval = m_type;
00024 retval <<= 24;
00025 retval |= m_n;
00026 return retval;
00027 }
|
|
Extracts the minor version part of this version 00067 { return m_n; }
|
|
Extracts the minor version part of this version 00067 { return m_n; }
|
|
Extracts the major version part of this version 00062 { return m_type; }
|
|
Extracts the major version part of this version 00062 { return m_type; }
|
|
This run number.
|
|
This run type.
|