squall/storm/hash/Hashkey.hpp

38 lines
695 B
C++
Raw Normal View History

2020-11-15 13:20:10 -06:00
#ifndef STORM_HASH_HASHKEY_HPP
#define STORM_HASH_HASHKEY_HPP
class HASHKEY_PTR {
public:
// Member variables
void* m_key;
// Member functions
bool operator==(const HASHKEY_PTR& key);
2020-11-15 13:20:10 -06:00
};
class HASHKEY_STR {
public:
// Member variables
char* m_str;
// Member functions
~HASHKEY_STR();
HASHKEY_STR& operator=(const char* str);
bool operator==(const char* str);
2020-11-15 13:20:10 -06:00
};
class HASHKEY_STRI : public HASHKEY_STR {
public:
// Member functions
HASHKEY_STRI& operator=(const char* str);
bool operator==(const char* str);
2020-11-15 13:20:10 -06:00
};
class HASHKEY_NONE {
public:
// Member functions
bool operator==(const HASHKEY_NONE& key);
2020-11-15 13:20:10 -06:00
};
#endif