#ifndef _BIT32_HPP_ #define _BIT32_HPP_ #include class FAR BIT32 { public: BIT32(void); BIT32(const BIT32&someBIT32); BIT32(LONG longValue); virtual ~BIT32(); WORD operator==(const BIT32 &someBIT32)const; WORD operator<(const BIT32 &someBIT32)const; WORD operator>(const BIT32 &someBIT32)const; void operator=(LONG longValue); void operator=(const BIT32 &someBIT32); void value(LONG newValue); LONG value(void)const; private: LONG mValue; }; inline BIT32::BIT32(void) : mValue(0) { } inline BIT32::BIT32(LONG longValue) : mValue(longValue) { } inline BIT32::BIT32(const BIT32 &someBIT32) : mValue(someBIT32.mValue) { } inline BIT32::~BIT32() { } inline WORD BIT32::operator==(const BIT32 &someBIT32)const { return mValue==someBIT32.mValue; } inline WORD BIT32::operator<(const BIT32 &someBIT32)const { return mValue(const BIT32 &someBIT32)const { return mValue>someBIT32.mValue; } inline void BIT32::operator=(LONG longValue) { mValue=longValue; } inline void BIT32::operator=(const BIT32 &someBIT32) { mValue=someBIT32.mValue; } inline void BIT32::value(LONG newValue) { mValue=newValue; } inline LONG BIT32::value(void)const { return mValue; } #endif