00001 00006 #ifndef _InitialSectionValidator_h 00007 #define _InitialSectionValidator_h 00008 00009 // SYSTEM INCLUDES 00010 // 00011 00012 // PROJECT INCLUDES 00013 // 00014 #include <wx/validate.h> 00015 00016 // LOCAL INCLUDES 00017 // 00018 #include "../DoubleParameter.h" 00019 #include "../SectionLineSearch.h" 00020 00021 // FORWARD REFERENCES 00022 // 00023 00024 class InitialSectionValidator 00025 : public wxValidator 00026 { 00027 public: 00028 // LIFECYCLE 00029 00032 InitialSectionValidator(SectionLineSearch* pMethod, 00033 DoubleParameter& rLeftBound, 00034 DoubleParameter& rRightBound); 00035 00036 00041 InitialSectionValidator(const InitialSectionValidator& from); 00042 00045 ~InitialSectionValidator(void); 00046 00047 00048 // OPERATORS 00049 00050 // OPERATIONS 00051 00054 virtual wxObject* Clone() const; 00055 00058 virtual bool TransferToWindow(); 00059 00062 virtual bool TransferFromWindow(); 00063 00068 virtual bool Validate(wxWindow* pParent); 00069 00070 // ACCESS 00071 // INQUIRY 00072 00073 protected: 00074 SectionLineSearch* mpMethod; 00075 DoubleParameter& mrLeftBound; 00076 DoubleParameter& mrRightBound; 00077 private: 00078 }; 00079 00080 // INLINE METHODS 00081 // 00082 00083 // EXTERNAL REFERENCES 00084 // 00085 00086 #endif // _InitialSectionValidator_h