Main Page | Class Hierarchy | Compound List | File List | Compound Members

BxUnsignedInteger32.h

00001 // ##################################################################
00002 // Binx
00003 // $Id: BxUnsignedInteger32_8h-source.html,v 1.1.1.1 2006/04/19 14:19:02 edikt2 Exp $
00004 //
00005 // Class for unsigned 32-bit integers.
00006 // ##################################################################
00007 /*
00008 
00009 //  edikt::BinX
00010 //  www.edikt.org
00011 //  support@edikt.org
00012 
00013 // Copyright (c) 2003 The University of Edinburgh.
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";} //<Returns the null-terminated string "BxUnsignedInteger32".
00049     virtual void print();
00050     virtual bool equals(const BxDataObject&) const;
00051     virtual char * toString(bool xml); //new a string for the value
00052     virtual bool parseValue(const char *);
00053     virtual bool readFromFile();
00054     
00055     BxUnsignedInteger32& operator=(const bx_uint32 ui);
00056 };
00057 
00058 #endif
00059 

Generated on Fri May 6 13:36:18 2005 for edikt::BinX by doxygen 1.3.3