#include <itkFloatingPointExceptions.h>
itk::FloatingPointExceptions::FloatingPointExceptions |
( |
| ) |
|
|
privatedefault |
static void itk::FloatingPointExceptions::Disable |
( |
| ) |
|
|
static |
static void itk::FloatingPointExceptions::Enable |
( |
| ) |
|
|
static |
Enable floating point exceptions.
If floating point exceptions are not supported on the platform, the program will either abort or exit displaying the error message FloatingPointExceptions are not supported on this platform.
.
Choice between Exit or Abort is based on the value returned by based GetExceptionAction().
- See Also
- Disable, SetEnabled, GetEnabled
static bool itk::FloatingPointExceptions::GetEnabled |
( |
| ) |
|
|
static |
Return the current state of FP Exceptions
static ExceptionAction itk::FloatingPointExceptions::GetExceptionAction |
( |
| ) |
|
|
static |
Access current ExceptionAction
static bool itk::FloatingPointExceptions::HasFloatingPointExceptionsSupport |
( |
| ) |
|
|
static |
Return if floating point exceptions are supported on this platform
itk::FloatingPointExceptions::itkGetGlobalDeclarationMacro |
( |
ExceptionGlobals |
, |
|
|
PimplGlobals |
|
|
) |
| |
|
private |
static void itk::FloatingPointExceptions::SetEnabled |
( |
bool |
val | ) |
|
|
static |
static void itk::FloatingPointExceptions::SetExceptionAction |
( |
ExceptionAction |
a | ) |
|
|
static |
Control whether exit(255) or abort() is called on an exception
ExceptionGlobals* itk::FloatingPointExceptions::m_PimplGlobals |
|
staticprivate |
The documentation for this class was generated from the following file: