00001 00015 #ifndef ConstValIntInterface_h 00016 #define ConstValIntInterface_h 00017 00018 #include <string> 00019 00020 namespace OA { 00021 00022 class ConstValIntInterface : public virtual ConstValBasicInterface { 00023 public: 00024 ConstValIntInterface() {} 00025 virtual ~ConstValIntInterface() {} 00026 00027 virtual bool isaInteger() const = 0; 00028 virtual int getIntegerVal() const = 0; // FIXME: THROW EXCEPTION? 00029 00030 /* 00031 virtual bool operator== (ConstValIntInterface& other) = 0; 00032 virtual bool operator!= (ConstValIntInterface& other) = 0; 00033 virtual std::string toString() = 0; 00034 */ 00035 }; 00036 00037 } // end of namespace OA 00038 00039 #endif
1.7.1