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

BxUnsignedLong64.h

00001 // ##################################################################
00002 // Binx
00003 // $Id: BxUnsignedLong64_8h-source.html,v 1.1.1.1 2006/04/19 14:19:02 edikt2 Exp $
00004 //
00005 // Class for unsigned 64-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 __BxUnsignedLong64__
00018 #define __BxUnsignedLong64__
00019 
00020 #include "BxInteger.h"
00021 
00037 class DECLSPEC BxUnsignedLong64 : public BxInteger
00038 {
00039 public:
00040     BxUnsignedLong64();
00041     BxUnsignedLong64(const BxUnsignedLong64&);
00042     BxUnsignedLong64(const bx_ulong64);
00043     virtual ~BxUnsignedLong64();
00044     virtual BxUnsignedLong64* clone() const;
00045 
00046     virtual bx_long64 getValue() const { return (bx_long64)dataValue_.ul_; }
00047     virtual void setValue(bx_long64 v) { dataValue_.ul_=(bx_ulong64)v; }
00048     virtual char * className() const {return "BxUnsignedLong64";} //<Returns the null-terminated string "BxUnsignedLong64".
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     BxUnsignedLong64& operator=(const bx_ulong64);
00056 };
00057 
00058 #endif
00059 

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