#include <TiledArray/config.h>
#include <exception>
#include <iostream>
Go to the source code of this file.
◆ DEPRECATED
◆ DEPRECATEDMSG
#define DEPRECATEDMSG |
( |
|
msg | ) |
|
◆ TA_ASSERT
#define TA_ASSERT |
( |
|
a | ) |
{ ; } |
◆ TA_CHECK
#define TA_CHECK |
( |
|
a | ) |
if(! ( a ) ) TA_EXCEPTION( "check failure" ) |
◆ TA_EXCEPTION
#define TA_EXCEPTION |
( |
|
m | ) |
|
Value: }
#define TA_EXCEPTION_MESSAGE(file, line, mess)
void exception_break()
Place a break point on this function to stop before TiledArray exceptions are thrown.
Definition at line 72 of file error.h.
◆ TA_EXCEPTION_MESSAGE
#define TA_EXCEPTION_MESSAGE |
( |
|
file, |
|
|
|
line, |
|
|
|
mess |
|
) |
| "TiledArray: exception at " file "(" TA_STRINGIZE( line ) "): " mess |
◆ TA_STRINGIZE
#define TA_STRINGIZE |
( |
|
s | ) |
#s |
◆ TA_TEST
◆ TA_USER_ASSERT
#define TA_USER_ASSERT |
( |
|
a, |
|
|
|
m |
|
) |
| |
Value:if(! ( a ) ) \
{ \
TA_USER_ERROR_MESSAGE( m )
\ }
void exception_break()
Place a break point on this function to stop before TiledArray exceptions are thrown.
Definition at line 123 of file error.h.
◆ TA_USER_ERROR_MESSAGE
#define TA_USER_ERROR_MESSAGE |
( |
|
m | ) |
std::cerr << "!! ERROR TiledArray: " << m << "\n"; |
◆ TILEDARRAY_NO_EXCEPTION
#define TILEDARRAY_NO_EXCEPTION throw() |