ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
itk::FloatingPointExceptions Class Reference

#include <itkFloatingPointExceptions.h>

Detailed Description

Definition at line 31 of file 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
 

Member Enumeration Documentation

defines what should happen when exceptions occur

Enumerator
ABORT 
EXIT 

Definition at line 35 of file itkFloatingPointExceptions.h.

Constructor & Destructor Documentation

itk::FloatingPointExceptions::FloatingPointExceptions ( )
private
itk::FloatingPointExceptions::FloatingPointExceptions ( const FloatingPointExceptions )
private

Member Function Documentation

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

Member Data Documentation

bool itk::FloatingPointExceptions::m_Enabled
staticprivate

Definition at line 63 of file itkFloatingPointExceptions.h.

ExceptionAction itk::FloatingPointExceptions::m_ExceptionAction
staticprivate

static member that controls what happens during an exception

Definition at line 62 of file itkFloatingPointExceptions.h.


The documentation for this class was generated from the following file: