Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

CharPtrHash.h

Go to the documentation of this file.
00001 #ifndef __CHARPTRHASH_H
00002 #define __CHARPTRHASH_H
00003 
00004 #include <cstddef>
00005 
00006 class CharPtrKey;
00007 
00008 bool CharPtrKeyEquals(CharPtrKey* k1, CharPtrKey* k2);
00009 
00010 size_t hashCharPtrKey(CharPtrKey *k);
00011 
00012 class CharPtrKey{
00013 private:
00014   char* key;
00015   
00016   friend bool CharPtrKeyEquals(CharPtrKey* k1, CharPtrKey* k2);
00017   friend size_t hashCharPtrKey(CharPtrKey *k);
00018   
00019 public:
00020   CharPtrKey(const char* Key);
00021   ~CharPtrKey();
00022 private:
00023   CharPtrKey(const CharPtrKey&); // Do not use
00024   CharPtrKey& operator=(const CharPtrKey&); // Do not use
00025 };
00026 
00027 #endif

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:36 2016 by Doxygen 1.6.3