00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __BxInteger__
00018 #define __BxInteger__
00019
00020 #include "BxDataObject.h"
00021
00041 class DECLSPEC BxInteger : public BxDataObject
00042 {
00043 protected:
00044 bool unsigned_;
00045 public:
00046 BxInteger();
00047 BxInteger(const BxInteger& copy);
00048 virtual ~BxInteger() {}
00049 virtual BxInteger* clone() const;
00050
00051 virtual char* className() const {return "BxInteger";}
00052 virtual void print();
00053 virtual bx_long64 getValue() const { return 0; }
00054 virtual void setValue(bx_long64) {}
00055
00056 bool isSigned() const { return !unsigned_; }
00057 bool isUnsigned() const { return unsigned_; }
00058 };
00059
00060 #endif
00061