VTK
9.1.0
Common
Core
vtkFloatingPointExceptions.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkFloatingPointExceptions.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
45
#ifndef vtkFloatingPointExceptions_h
46
#define vtkFloatingPointExceptions_h
47
48
#include "vtkCommonCoreModule.h"
// For export macro
49
#include "
vtkSystemIncludes.h
"
// For VTKCOMMONCORE_EXPORT
50
51
class
VTKCOMMONCORE_EXPORT
vtkFloatingPointExceptions
52
{
53
public
:
57
static
void
Enable
();
58
62
static
void
Disable
();
63
64
private
:
65
vtkFloatingPointExceptions
() =
delete
;
66
vtkFloatingPointExceptions
(
const
vtkFloatingPointExceptions
&) =
delete
;
67
void
operator=(
const
vtkFloatingPointExceptions
&) =
delete
;
68
};
69
70
#endif
71
// VTK-HeaderTest-Exclude: vtkFloatingPointExceptions.h
vtkFloatingPointExceptions::Enable
static void Enable()
Enable floating point exceptions.
vtkFloatingPointExceptions::Disable
static void Disable()
Disable floating point exceptions.
vtkFloatingPointExceptions
Deal with floating-point exceptions.
Definition:
vtkFloatingPointExceptions.h:52
vtkSystemIncludes.h
Generated on Fri Nov 5 2021 00:10:55 for VTK by
1.8.20