Blender V2.61 - r43446
|
very basic hashable string implementation, compatible with btHashMap More...
#include <btHashMap.h>
Public Member Functions | |
SIMD_FORCE_INLINE unsigned int | getHash () const |
btHashString (const char *name) | |
int | portableStringCompare (const char *src, const char *dst) const |
bool | equals (const btHashString &other) const |
Public Attributes | |
const char * | m_string |
unsigned int | m_hash |
very basic hashable string implementation, compatible with btHashMap
Definition at line 7 of file btHashMap.h.
btHashString::btHashString | ( | const char * | name | ) | [inline] |
bool btHashString::equals | ( | const btHashString & | other | ) | const [inline] |
Definition at line 50 of file btHashMap.h.
References m_string, and portableStringCompare().
SIMD_FORCE_INLINE unsigned int btHashString::getHash | ( | ) | const [inline] |
Definition at line 12 of file btHashMap.h.
References m_hash.
int btHashString::portableStringCompare | ( | const char * | src, |
const char * | dst | ||
) | const [inline] |
Definition at line 35 of file btHashMap.h.
Referenced by equals().
unsigned int btHashString::m_hash |
Definition at line 10 of file btHashMap.h.
Referenced by btHashString(), and getHash().
const char* btHashString::m_string |
Definition at line 9 of file btHashMap.h.
Referenced by btHashString(), and equals().