#include <itkFloatingPointExceptions.h>
◆ ExceptionActionEnum
◆ FloatingPointExceptions()
itk::FloatingPointExceptions::FloatingPointExceptions |
( |
| ) |
|
|
default |
◆ ~FloatingPointExceptions()
virtual itk::FloatingPointExceptions::~FloatingPointExceptions |
( |
| ) |
|
|
virtualdefault |
◆ Disable()
static void itk::FloatingPointExceptions::Disable |
( |
| ) |
|
|
static |
◆ Enable()
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
◆ GetEnabled()
static bool itk::FloatingPointExceptions::GetEnabled |
( |
| ) |
|
|
static |
Return the current state of FP Exceptions
◆ GetExceptionAction()
◆ HasFloatingPointExceptionsSupport()
static bool itk::FloatingPointExceptions::HasFloatingPointExceptionsSupport |
( |
| ) |
|
|
static |
Return if floating point exceptions are supported on this platform
◆ itkGetGlobalDeclarationMacro()
itk::FloatingPointExceptions::itkGetGlobalDeclarationMacro |
( |
ExceptionGlobals |
, |
|
|
PimplGlobals |
|
|
) |
| |
|
private |
◆ SetEnabled()
static void itk::FloatingPointExceptions::SetEnabled |
( |
bool |
val | ) |
|
|
static |
◆ SetExceptionAction()
Control whether exit(255) or abort() is called on an exception
◆ m_PimplGlobals
ExceptionGlobals* itk::FloatingPointExceptions::m_PimplGlobals |
|
staticprivate |
The documentation for this class was generated from the following file: