PointWithValue.h

00001 
00010 #ifndef _PointWithValue_h
00011 #define _PointWithValue_h
00012 
00013 
00014 // SYSTEM INCLUDES
00015 //
00016 //#include <iostream>
00017 
00018 // PROJECT INCLUDES
00019 //
00020 //#include <newmat/newmat.h>
00021 //#include <wx/txtstrm.h>
00022 
00023 // LOCAL INCLUDES
00024 //
00025 #include "util.h"
00026 
00027 // FORWARD REFERENCES
00028 //
00029 
00030 
00031 class PointWithValue
00032 {
00033 public:
00034 // LIFECYCLE
00035 
00038     PointWithValue(void);
00039 
00042     PointWithValue(unsigned int size);
00043 
00048     PointWithValue(const ColumnVector& point);
00049 
00055     PointWithValue(const ColumnVector& point, double value);
00056 
00061     PointWithValue(const PointWithValue& from);
00062 
00063 
00066     ~PointWithValue(void);
00067 
00068 
00069 // OPERATORS
00070 
00077     PointWithValue&          operator=(const PointWithValue& from);
00078 
00079 // OPERATIONS
00080 // ACCESS
00081 // INQUIRY
00082 
00083     ColumnVector    mPoint; 
00084     double          mValue; 
00085 
00086 protected:
00087 
00088 
00089 private:
00090 };
00091 
00092 // INLINE METHODS
00093 //
00094 
00095 // EXTERNAL REFERENCES
00096 //
00097 
00098 
00099 
00100 bool                operator==(const PointWithValue& left,
00101                                const PointWithValue& right);
00102 
00103 bool                operator!=(const PointWithValue& left,
00104                                const PointWithValue& right);
00105 
00106 bool                operator> (const PointWithValue& left,
00107                                const PointWithValue& right);
00108 
00109 bool                operator>=(const PointWithValue& left,
00110                                const PointWithValue& right);
00111 
00112 bool                operator< (const PointWithValue& left,
00113                                const PointWithValue& right);
00114 
00115 bool                operator<=(const PointWithValue& left,
00116                                const PointWithValue& right);
00117 /*
00118 std::ostream&       operator<<(std::ostream&         os,
00119                                const PointWithValue& point);
00120 
00121 wxTextOutputStream& operator<<(wxTextOutputStream&   os,
00122                                const PointWithValue& point);
00123 */
00124 #endif  // _PointWithValue_h

Wygenerowano Fri Sep 29 21:04:48 2006 dla EduOptim2 programem  doxygen 1.4.6