| 
    STK++ 0.9.13
    
   | 
 
Template functor which return a default value if the value is NA. More...
#include <STK_Functors.h>
Public Types | |
| enum | { NbParam_ = 1 } | 
| typedef Type | result_type | 
| typedef hidden::RemoveConst< Type >::Type | param1_type | 
Public Member Functions | |
| SafeOp (Type const value=Type()) | |
| SafeOp (SafeOp const &value) | |
| result_type | operator() (param1_type const &a) const | 
Private Attributes | |
| Type const | value_ | 
Template functor which return a default value if the value is NA.
Definition at line 792 of file STK_Functors.h.
| typedef hidden::RemoveConst<Type>::Type STK::SafeOp< Type >::param1_type | 
Definition at line 796 of file STK_Functors.h.
| typedef Type STK::SafeOp< Type >::result_type | 
Definition at line 795 of file STK_Functors.h.
      
  | 
  inline | 
Definition at line 798 of file STK_Functors.h.
      
  | 
  inline | 
Definition at line 799 of file STK_Functors.h.
      
  | 
  inline | 
Definition at line 801 of file STK_Functors.h.
References STK::Arithmetic< Type >::isFinite(), and STK::SafeOp< Type >::value_.
      
  | 
  private | 
Definition at line 804 of file STK_Functors.h.
Referenced by STK::SafeOp< Type >::operator()().