ATLAS Offline Software
Control
AthenaKernel
src
AthStatusCode.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
AthenaKernel/AthStatusCode.h
"
6
7
namespace
Athena
{
8
9
struct
StatusCategory
:
StatusCode::Category
{
10
const
char
*
name
()
const override
{
return
"Athena::Status"
; }
11
12
std::string
message
(StatusCode::code_t
code
)
const override
{
13
switch
(
static_cast<
Athena::Status
>
(
code
)) {
14
case
Status::TIMEOUT
:
15
return
"Athena::Status::TIMEOUT"
;
16
case
Status::MISSING_DATA
:
17
return
"Athena::Status::MISSING_DATA"
;
18
default
:
19
return
StatusCode::default_category().message(
code
);
20
}
21
}
22
};
23
24
}
// namespace Athena
25
26
// Register the category
27
STATUSCODE_ENUM_IMPL(
Athena::Status
,
Athena::StatusCategory
)
HTXS::Stage0::Category
Category
Definition:
HiggsTemplateCrossSectionsDefs.h:43
Athena::StatusCategory::message
std::string message(StatusCode::code_t code) const override
Definition:
AthStatusCode.cxx:12
Athena::Status::MISSING_DATA
@ MISSING_DATA
Missing/corrupted input data.
histSizes.code
code
Definition:
histSizes.py:129
Athena::StatusCategory::name
const char * name() const override
Definition:
AthStatusCode.cxx:10
Athena
Some weak symbol referencing magic...
Definition:
AthLegacySequence.h:21
Athena::StatusCategory
Definition:
AthStatusCode.cxx:9
Athena::Status::TIMEOUT
@ TIMEOUT
Timeout during event processing.
Athena::Status
Status
Athena specific StatusCode values.
Definition:
AthStatusCode.h:22
AthStatusCode.h
Generated on Thu Dec 26 2024 21:07:14 for ATLAS Offline Software by
1.8.18