|
STK++ 1.0
|
Specialization for String. More...
#include <STK_String.h>

Static Public Member Functions | |
| static String | NA () throw () |
| Adding a Non Avalaible (NA) special String (the empty String) | |
| static bool | isNA (String const &x) throw () |
| Test if x is a Non Avalaible (NA) String. | |
| static bool | isInfinite (String const &x) throw () |
| Test if x is infinite. | |
| static bool | isFinite (String const &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 String.
The STK fundamental type String use the empty String to represent NA String.
Definition at line 63 of file STK_String.h.
| static String STK::Arithmetic< String >::NA | ( | ) | throw () [inline, static] |
Adding a Non Avalaible (NA) special String (the empty String)
Definition at line 67 of file STK_String.h.
{ return String();}
| static bool STK::Arithmetic< String >::isNA | ( | String const & | x | ) | throw () [inline, static] |
Test if x is a Non Avalaible (NA) String.
| x | the String to test. |
true if x is a NA String, false otherwise Definition at line 78 of file STK_String.h.
References STK::Arithmetic< TYPE >::NA().
{ return (x == NA());}
| static bool STK::Arithmetic< String >::isInfinite | ( | String const & | x | ) | throw () [inline, static] |
Test if x is infinite.
| x | the String to test. |
false Definition at line 85 of file STK_String.h.
{ return false; }
| static bool STK::Arithmetic< String >::isFinite | ( | String const & | x | ) | throw () [inline, static] |
Test if x is finite.
| x | the String to test. |
true if x not a NA string, false otherwise Definition at line 92 of file STK_String.h.
References STK::Arithmetic< TYPE >::isNA().
{ return (!isNA(x));}
const bool STK::Arithmetic< String >::hasNA = true [static] |
True if the type has a representation for a "Not Available.".
Definition at line 72 of file STK_String.h.