ATLAS Offline Software
Macros
MacroChecks.h File Reference
#include "AsgMessaging/Check.h"
Include dependency graph for MacroChecks.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ORT_POINTER_CHECK(ptr)
 

Macro Definition Documentation

◆ ORT_POINTER_CHECK

#define ORT_POINTER_CHECK (   ptr)
Value:
do { \
if(ptr == nullptr) { \
ATH_MSG_ERROR(#ptr << " pointer is null!"); \
return StatusCode::FAILURE; \
} \
} while(0)

Definition at line 14 of file MacroChecks.h.

dbg::ptr
void * ptr(T *p)
Definition: SGImplSvc.cxx:74