ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloCalibConditions
TrigT1CaloCalibConditions
AbstractErrorCode.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGT1CALOCALIBCONDITIONS_ABSTRACTERRORCODE_H
6
#define TRIGT1CALOCALIBCONDITIONS_ABSTRACTERRORCODE_H
7
8
15
16
class
AbstractErrorCode
{
17
18
public
:
19
virtual
~AbstractErrorCode
() {};
20
AbstractErrorCode
&
operator=
(
AbstractErrorCode
&&) noexcept = default;
21
unsigned
int
errorCode
()
const
{
return
m_errorCode
;}
22
23
protected
:
24
AbstractErrorCode
(
unsigned
int
errorCode
) {
m_errorCode
=
errorCode
; };
25
26
void
errorCode
(
unsigned
int
code) {
m_errorCode
= code;}
27
28
29
bool
bitIsSet
(
unsigned
int
number
)
const
;
30
void
setBit
(
unsigned
int
number
,
bool
value);
31
32
private
:
33
unsigned
int
m_errorCode
{};
34
35
};
36
#endif
AbstractErrorCode::bitIsSet
bool bitIsSet(unsigned int number) const
Definition
AbstractErrorCode.cxx:7
AbstractErrorCode::setBit
void setBit(unsigned int number, bool value)
Definition
AbstractErrorCode.cxx:15
AbstractErrorCode::errorCode
void errorCode(unsigned int code)
Definition
AbstractErrorCode.h:26
AbstractErrorCode::operator=
AbstractErrorCode & operator=(AbstractErrorCode &&) noexcept=default
AbstractErrorCode::m_errorCode
unsigned int m_errorCode
Definition
AbstractErrorCode.h:33
AbstractErrorCode::errorCode
unsigned int errorCode() const
Definition
AbstractErrorCode.h:21
AbstractErrorCode::~AbstractErrorCode
virtual ~AbstractErrorCode()
Definition
AbstractErrorCode.h:19
AbstractErrorCode::AbstractErrorCode
AbstractErrorCode(unsigned int errorCode)
Definition
AbstractErrorCode.h:24
number
std::string number(const double &d, const std::string &s)
Definition
utils.cxx:186
Generated on
for ATLAS Offline Software by
1.17.0