C++ main module for mmsd Package  1.0
LAP_Object.h
Go to the documentation of this file.
1 #ifndef LAP_Object_H
2 #define LAP_Object_H
3 
4 
5 #include "CORE_Object.h"
6 #include "CORE_ListPointers.h"
7 #include "LAP_Exception.h"
8 
9 #include "lapack_types.h"
10 
17 class LAP_Object : public virtual CORE_Object {
18  SP_OBJECT(LAP_Object);
19 
20 public:
21  static double ZERO_EPSILON;
22 private:
23  double mNullValue;
24  double mConstNullValue;
25  // ASSOCIATIONS
26 
27 protected:
28  // METHODS
29 
30  // CONSTRUCTORS
31 
33  LAP_Object(void);
34 
35 
36 
37  // DESTRUCTORS
38 
39 
42  virtual ~LAP_Object(void);
43 
44 
45 public:
46 
47  // SET methods
48 
49 
50  // GET methods
51 
54  inline double& getNullValue() {
55  mNullValue=0;
56  return mNullValue;
57  }
60  inline const double& getNullValue() const {
61  return mConstNullValue;
62  }
65  inline tBoolean isNullValue(const double& v) const {
66  return ((&v==&mConstNullValue) || (&v==&mNullValue));
67  }
68 
69  // OTHERS Methods
70 
71 
72 
73 
74 };
75 #endif
virtual ~LAP_Object(void)
destroy an object.
Definition: LAP_Object.cpp:11
double & getNullValue()
get a null value
Definition: LAP_Object.h:54
#define tBoolean
Definition: types.h:48
static double ZERO_EPSILON
Definition: LAP_Object.h:21
tBoolean isNullValue(const double &v) const
return true if the value is a null
Definition: LAP_Object.h:65
This class is the base class of all lapack objects.
Definition: LAP_Object.h:17
DEFINE_SPTR(LAP_Object)
abstract base class for most classes.
Definition: CORE_Object.h:30
const double & getNullValue() const
get a const null value
Definition: LAP_Object.h:60
LAP_Object(void)
create an object
Definition: LAP_Object.cpp:5