ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Member Functions | Private Member Functions | Static Private Attributes
itk::FloatingPointExceptions Class Reference

#include <itkFloatingPointExceptions.h>

List of all members.

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

Detailed Description

Definition at line 31 of file itkFloatingPointExceptions.h.


Member Enumeration Documentation

defines what should happen when exceptions occur

Enumerator:
ABORT 
EXIT 

Definition at line 35 of file itkFloatingPointExceptions.h.


Constructor & Destructor Documentation


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

Access current ExceptionAction

void itk::FloatingPointExceptions::operator= ( const FloatingPointExceptions ) [private]
static void itk::FloatingPointExceptions::SetEnabled ( bool  val) [static]

Set the state to specified value

Control whether exit(255) or abort() is called on an exception


Member Data Documentation

Definition at line 63 of file itkFloatingPointExceptions.h.

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: