00001 00011 #ifndef __HashTableKey_Pointer_H__ 00012 #define __HashTableKey_Pointer_H__ 00013 00014 // Includes 00015 #include "HashTableKey.h" 00016 00017 // Forward declares 00018 00019 // HashTableKey_Pointer 00020 class HashTableKey_Pointer: public HashTableKey 00021 { 00022 public: 00023 HashTableKey_Pointer(); 00024 00029 HashTableKey_Pointer( 00030 const void* pointer 00031 ); 00032 00038 virtual StringId GetType() const; 00039 00045 virtual unsigned int GetHash() const; 00046 00047 00053 bool Compare(const HashTableKey* key) const; 00054 00060 unsigned int GetInt() const; 00061 00062 private: 00063 unsigned int hash_; 00064 const void* pointer_; 00065 }; 00066 00067 00068 #endif /* __HashTableKey_Pointer_H__ */