ATLAS Offline Software
Macros
SGassert.h File Reference
#include <cassert>
#include <iostream>
Include dependency graph for SGassert.h:

Go to the source code of this file.

Macros

#define SGASSERT(TRUEEXPR)   assert(TRUEEXPR)
 
#define SGASSERTERROR(FALSEEXPR)
 

Macro Definition Documentation

◆ SGASSERT

#define SGASSERT (   TRUEEXPR)    assert(TRUEEXPR)

Definition at line 23 of file SGassert.h.

◆ SGASSERTERROR

#define SGASSERTERROR (   FALSEEXPR)
Value:
std::cerr << "Now we expect to see an error message:" << std::endl \
<< "----Error Message Starts--->>" << std::endl; \
assert(!(FALSEEXPR)); \
std::cerr<< "<<---Error Message Ends-------" << std::endl

Definition at line 24 of file SGassert.h.