ITK
6.0.0
Insight Toolkit
|
#include <itkFloatingPointExceptions.h>
Allows floating point exceptions to be caught during program execution.
Allows floating point exceptions to be caught during program execution.
Definition at line 55 of file itkFloatingPointExceptions.h.
Public Types | |
using | ExceptionActionEnum = FloatingPointExceptionsEnums::ExceptionAction |
Public Member Functions | |
FloatingPointExceptions ()=default | |
virtual | ~FloatingPointExceptions ()=default |
Static Public Member Functions | |
static void | Disable () |
static void | Enable () |
static bool | GetEnabled () |
static ExceptionActionEnum | GetExceptionAction () |
static bool | HasFloatingPointExceptionsSupport () |
static void | SetEnabled (bool val) |
static void | SetExceptionAction (ExceptionActionEnum a) |
Private Member Functions | |
itkGetGlobalDeclarationMacro (ExceptionGlobals, PimplGlobals) | |
Static Private Attributes | |
static ExceptionGlobals * | m_PimplGlobals |
using itk::FloatingPointExceptions::ExceptionActionEnum = FloatingPointExceptionsEnums::ExceptionAction |
Definition at line 63 of file itkFloatingPointExceptions.h.
|
default |
|
virtualdefault |
|
static |
Disable floating point exceptions.
|
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().
|
static |
Return the current state of FP Exceptions
|
static |
Access current ExceptionAction
|
static |
Return if floating point exceptions are supported on this platform
|
private |
|
static |
Set the state to specified value.
|
static |
Control whether exit(255) or abort() is called on an exception
|
staticprivate |
static member that controls what happens during an exception
Definition at line 118 of file itkFloatingPointExceptions.h.