ParseError.h

00001 
00007 #ifndef _ParseError_h
00008 #define _ParseError_h
00009 
00010 
00011 // SYSTEM INCLUDES
00012 //
00013 
00014 // PROJECT INCLUDES
00015 //
00016 //#include <wx/string.h>
00017 
00018 // LOCAL INCLUDES
00019 //
00020 #include "Error.h"
00021 
00022 // FORWARD REFERENCES
00023 //
00024 
00025 
00026 class ParseError
00027     : public Error
00028 {
00029 public:
00030 // LIFECYCLE
00031 
00032 //    /** Konstruktor domyślny.
00033 //     */
00034 //    ParseError(void);
00035 
00036 
00041     ParseError(const ParseError& from);
00042 
00043 
00051     ParseError(const wxString& input, const wxString& message, unsigned position);
00052 
00053 
00056     ~ParseError(void);
00057 
00058 
00059 // OPERATORS
00060 
00067     ParseError&                 operator=(const ParseError& from);
00068 
00069 // OPERATIONS
00070 
00071 // ACCESS
00072 
00075     const wxString&             Input() const;
00076 
00079     const wxString&             ErrorMessage() const;
00080 
00084     unsigned                    Position() const;
00085 
00086 // INQUIRY
00087 
00088 protected:
00089 private:
00090     wxString    mInput;     
00091     wxString    mMessage;   
00092     unsigned    mPosition;  
00093 };
00094 
00095 // INLINE METHODS
00096 //
00097 
00098 // EXTERNAL REFERENCES
00099 //
00100 
00101 #endif  // _ParseError_h_

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