Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btHashString Struct Reference

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

#include <btHashMap.h>

Public Member Functions

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 23 of file btHashMap.h.

Constructor & Destructor Documentation

btHashString::btHashString ( const char *  name)
inline

Definition at line 33 of file btHashMap.h.

Member Function Documentation

bool btHashString::equals ( const btHashString other) const
inline

Definition at line 66 of file btHashMap.h.

unsigned int btHashString::getHash ( ) const
inline

Definition at line 28 of file btHashMap.h.

int btHashString::portableStringCompare ( const char *  src,
const char *  dst 
) const
inline

Definition at line 51 of file btHashMap.h.

Member Data Documentation

unsigned int btHashString::m_hash

Definition at line 26 of file btHashMap.h.

const char* btHashString::m_string

Definition at line 25 of file btHashMap.h.


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