ATLAS Offline Software
AthCheckMacros.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // AthCheckMacros.h
8 // Header file for useful macros when comes to using StatusCodes
9 // Author: S.Binet<binet@cern.ch>
10 // $Revision: 446910 $
12 #ifndef ATHENABASECOMPS_ATHCHECKMACROS_H
13 #define ATHENABASECOMPS_ATHCHECKMACROS_H 1
14 
15 // framework includes
17 
20 #define ATH_REPORT_ERROR_WITH_CONTEXT REPORT_ERROR_WITH_CONTEXT
21 
24 #define ATH_REPORT_MESSAGE_WITH_CONTEXT REPORT_MESSAGE_WITH_CONTEXT
25 
28 #define ATH_REPORT_ERROR REPORT_ERROR
29 
32 #define ATH_REPORT_MESSAGE REPORT_MESSAGE
33 
36 #define ATH_CHECK_WITH_CONTEXT CHECK_WITH_CONTEXT
37 
40 #define ATH_CHECK CHECK
41 
44 #define ATH_CHECK_RECOVERABLE_WITH_CONTEXT CHECK_RECOVERABLE_WITH_CONTEXT
45 
48 #define ATH_CHECK_RECOVERABLE CHECK_RECOVERABLE
49 
52 #define ATH_CHECK_FATAL_WITH_CONTEXT CHECK_FATAL_WITH_CONTEXT
53 
56 #define ATH_CHECK_FATAL CHECK_FATAL
57 
58 #endif //> !ATHENABASECOMPS_ATHCHECKMACROS_H
59 
errorcheck.h
Helpers for checking error return status codes and reporting errors.