ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkFloatingPointExceptions.h>
Public Types | |
enum | ExceptionAction { ABORT, EXIT } |
Static Public Member Functions | |
static void | Disable () |
static void | Enable () |
static bool | GetEnabled () |
static ExceptionAction | GetExceptionAction () |
static void | SetEnabled (bool val) |
static void | SetExceptionAction (ExceptionAction a) |
Private Member Functions | |
FloatingPointExceptions () | |
FloatingPointExceptions (const FloatingPointExceptions &) | |
void | operator= (const FloatingPointExceptions &) |
Static Private Attributes | |
static bool | m_Enabled |
static ExceptionAction | m_ExceptionAction |
Definition at line 31 of file itkFloatingPointExceptions.h.
defines what should happen when exceptions occur
Definition at line 35 of file itkFloatingPointExceptions.h.
itk::FloatingPointExceptions::FloatingPointExceptions | ( | ) | [private] |
itk::FloatingPointExceptions::FloatingPointExceptions | ( | const FloatingPointExceptions & | ) | [private] |
static void itk::FloatingPointExceptions::Disable | ( | ) | [static] |
Disable floating point exceptions.
static void itk::FloatingPointExceptions::Enable | ( | ) | [static] |
Enable floating point exceptions
Referenced by ProcessArguments().
static bool itk::FloatingPointExceptions::GetEnabled | ( | ) | [static] |
Return the current state of FP Exceptions
static ExceptionAction itk::FloatingPointExceptions::GetExceptionAction | ( | ) | [static] |
Access current ExceptionAction
void itk::FloatingPointExceptions::operator= | ( | const FloatingPointExceptions & | ) | [private] |
static void itk::FloatingPointExceptions::SetEnabled | ( | bool | val | ) | [static] |
Set the state to specified value
static void itk::FloatingPointExceptions::SetExceptionAction | ( | ExceptionAction | a | ) | [static] |
Control whether exit(255) or abort() is called on an exception
bool itk::FloatingPointExceptions::m_Enabled [static, private] |
Definition at line 63 of file itkFloatingPointExceptions.h.
ExceptionAction itk::FloatingPointExceptions::m_ExceptionAction [static, private] |
static member that controls what happens during an exception
Definition at line 62 of file itkFloatingPointExceptions.h.