libatomprobe
Library for Atom Probe Tomography (APT) computation
Namespaces | Macros | Functions
aptAssert.h File Reference
#include <cassert>
#include <iostream>
Include dependency graph for aptAssert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 AtomProbe
 

Macros

#define ASSERT(f)
 
#define WARN(f, g)
 
#define TEST(f, g)
 

Functions

void AtomProbe::setHardAssert (bool enabled)
 Do assertions cause a straight up crash (enabled), or write a mesage to stderr (disabled)? By default, hard crash. More...
 
void AtomProbe::askAssert (const char *, unsigned int)
 Either abort program, or ask the user what to do for an assertion. depending on hardAssert setting. More...
 

Macro Definition Documentation

◆ ASSERT

#define ASSERT (   f)

Definition at line 47 of file aptAssert.h.

◆ TEST

#define TEST (   f,
 
)

◆ WARN

#define WARN (   f,
 
)