ProblemWithPenaltyValidator.h

00001 
00006 #ifndef _ProblemWithPenaltyValidator_h
00007 #define _ProblemWithPenaltyValidator_h
00008 
00009 // SYSTEM INCLUDES
00010 //
00011 #include <memory>
00012 
00013 // PROJECT INCLUDES
00014 //
00015 #include <wx/object.h>
00016 #include <wx/validate.h>
00017 
00018 // LOCAL INCLUDES
00019 //
00020 #include "../ProblemBase.h"
00021 
00022 // FORWARD REFERENCES
00023 //
00024 
00025 class ProblemWithPenaltyValidator
00026     : public wxValidator
00027 {
00028 public:
00029 // LIFECYCLE
00030 
00033     ProblemWithPenaltyValidator(ProblemBase* pProblem);
00034 
00035 
00040     ProblemWithPenaltyValidator(const ProblemWithPenaltyValidator& from);
00041 
00042 
00045     ~ProblemWithPenaltyValidator(void);
00046 
00047 
00048 // OPERATORS
00049 
00050 // OPERATIONS
00051 
00052 
00055     virtual wxObject*       Clone() const;
00056 
00059     virtual bool            Validate(wxWindow* parent);
00060 
00063     virtual bool            TransferToWindow();
00064 
00067     virtual bool            TransferFromWindow();
00068 
00069 // ACCESS
00070 // INQUIRY
00071 
00072 protected:
00073 private:
00076     ProblemWithPenalty* mpProblem;
00077 };
00078 
00079 // INLINE METHODS
00080 //
00081 
00082 // EXTERNAL REFERENCES
00083 //
00084 
00085 #endif  // _ProblemWithPenaltyValidator_h

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