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