Blender V2.61 - r43446
Public Member Functions | Public Attributes

btHashString Struct Reference

very basic hashable string implementation, compatible with btHashMap More...

#include <btHashMap.h>

List of all members.

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

Detailed Description

very basic hashable string implementation, compatible with btHashMap

Definition at line 7 of file btHashMap.h.


Constructor & Destructor Documentation

btHashString::btHashString ( const char *  name) [inline]

Definition at line 17 of file btHashMap.h.

References hash, i, m_hash, and m_string.


Member Function Documentation

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().


Member Data Documentation

unsigned int btHashString::m_hash

Definition at line 10 of file btHashMap.h.

Referenced by btHashString(), and getHash().

Definition at line 9 of file btHashMap.h.

Referenced by btHashString(), and equals().


The documentation for this struct was generated from the following file: