|
STK++ 1.0
|
Specialization for NotAvailable. More...
#include <STK_NotAvailable.h>

Static Public Member Functions | |
| static NotAvailable | NA () throw () |
| Adding a Non Avalaible (NA) special number. | |
| static bool | isNA (const NotAvailable &x) throw () |
| Test if x is a Non Avalaible (NA) special number. | |
| static bool | isInfinite (const NotAvailable &x) throw () |
| Test if x is infinite. | |
| static bool | isFinite (const NotAvailable &x) throw () |
| Test if x is finite. | |
Static Public Attributes | |
| static const bool | hasNA = true |
| True if the type has a representation for a "Not Available". | |
Specialization for NotAvailable.
The NA Type is for variable always Not Available. It is thus never available.
Definition at line 64 of file STK_NotAvailable.h.
| static NotAvailable STK::Arithmetic< NotAvailable >::NA | ( | ) | throw () [inline, static] |
Adding a Non Avalaible (NA) special number.
Definition at line 68 of file STK_NotAvailable.h.
References STK::missing.
{ return missing;}
| static bool STK::Arithmetic< NotAvailable >::isNA | ( | const NotAvailable & | x | ) | throw () [inline, static] |
Test if x is a Non Avalaible (NA) special number.
| x | the NA value to test. |
Definition at line 78 of file STK_NotAvailable.h.
{ return true;}
| static bool STK::Arithmetic< NotAvailable >::isInfinite | ( | const NotAvailable & | x | ) | throw () [inline, static] |
Test if x is infinite.
| x | the NA value to test. |
Definition at line 84 of file STK_NotAvailable.h.
{ return false; }
| static bool STK::Arithmetic< NotAvailable >::isFinite | ( | const NotAvailable & | x | ) | throw () [inline, static] |
Test if x is finite.
| x | the NA value to test. |
Definition at line 90 of file STK_NotAvailable.h.
{ return false;}
const bool STK::Arithmetic< NotAvailable >::hasNA = true [static] |
True if the type has a representation for a "Not Available".
Definition at line 73 of file STK_NotAvailable.h.