00001 00025 #ifndef __HashTableKey_Int_H__ 00026 #define __HashTableKey_Int_H__ 00027 00028 // Includes 00029 #include "HashTableKey.h" 00030 00031 // Forward declares 00032 00033 // HashTableKey_Int 00034 class HashTableKey_Int: public HashTableKey 00035 { 00036 public: 00037 HashTableKey_Int(); 00038 00043 HashTableKey_Int( 00044 unsigned int number 00045 ); 00046 00052 virtual StringId GetType() const; 00053 00059 virtual unsigned int GetHash() const; 00060 00066 bool Compare(const HashTableKey* key) const; 00067 00073 unsigned int GetInt() const; 00074 00075 private: 00076 unsigned int hash_; 00077 }; 00078 00079 #endif /* __HashTableKey_Int_H__ */