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