00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __BxInteger32__
00018 #define __BxInteger32__
00019
00020 #include "BxInteger.h"
00021
00037 class DECLSPEC BxInteger32 : public BxInteger
00038 {
00039 public:
00040 BxInteger32();
00041 BxInteger32(const BxInteger32&);
00042 BxInteger32(const bx_int32);
00043 virtual ~BxInteger32();
00044 virtual BxInteger32* clone() const;
00045
00046 BxInteger32& operator=(const bx_int32);
00047
00048 virtual bx_long64 getValue() const { return (bx_long64)dataValue_.i_; }
00049 virtual void setValue(bx_long64 v) { dataValue_.i_=(bx_int32)v; }
00050 virtual char * className() const {return "BxInteger32";}
00051 virtual bool equals(const BxDataObject&) const;
00052 virtual char * toString(bool xml);
00053 virtual bool parseValue(const char *);
00054 virtual bool readFromFile();
00055 };
00056
00057 #endif
00058