00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __BxUnsignedShort16__
00018 #define __BxUnsignedShort16__
00019
00020 #include "BxInteger.h"
00021
00037 class DECLSPEC BxUnsignedShort16 : public BxInteger
00038 {
00039 public:
00040 BxUnsignedShort16();
00041 BxUnsignedShort16(const BxUnsignedShort16&);
00042 BxUnsignedShort16(const bx_ushort16);
00043 virtual ~BxUnsignedShort16();
00044
00045 virtual bx_long64 getValue() const { return (bx_long64)dataValue_.us_; }
00046 virtual void setValue(bx_long64 v) { dataValue_.us_=(bx_ushort16)v; }
00047 virtual char * className() const {return "BxUnsignedShort16";}
00048 virtual void print();
00049 virtual BxUnsignedShort16* clone() const;
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 BxUnsignedShort16& operator=(const bx_ushort16);
00056 };
00057
00058 #endif
00059