00001 00033 #ifndef H_OPERATOR 00034 #define H_OPERATOR 00035 00036 namespace Operator 00037 { 00038 00042 // replace this with something that can do cumulative checking 00043 // ie that a single warning or error sticks... 00044 enum Result 00045 { 00046 UNIMPLEMENTED=-2, 00047 ERROR=-1, 00048 OK=0, 00049 WARNING=1 00050 }; 00051 00052 class AbstractOperator 00053 { 00054 00055 public: 00056 00063 virtual Result operator()( ) = 0; 00064 00065 }; // class AbstractOperator 00066 00067 00068 }; // namespace 00069 00070 #endif