#include <hashstring.h>
Robert A Balfe (rbalfe@attbi.com)
Public Member Functions | |
| HashString () | |
| HashString (const HashString &rstrRef) | |
| HashString (const std::string &rstrRef) | |
| HashString (const char *pcRef, int iNum) | |
| HashString (const char *pszRef) | |
| HashString (int iNum, const char cData) | |
| bool | Compare (const HashString &rstrRef) const |
| bool | Compare (unsigned int uiHash) const |
| unsigned int | GetHash () const |
| HashString & | HashMe () |
| size_t | length () const |
| const char * | c_str () const |
| bool | operator== (const HashString &rstrRef) const |
| bool | operator== (unsigned int uiHash) const |
| bool | operator== (const std::string &rstrRef) const |
| bool | operator== (const char *pszRef) const |
| bool | operator!= (const HashString &rstrRef) const |
| bool | operator!= (unsigned int uiHash) const |
| bool | operator!= (const std::string &rstrRef) const |
| bool | operator!= (const char *pszRef) const |
| HashString & | operator= (const HashString &rstrRef) |
| HashString & | operator= (const std::string &rstrRef) |
| HashString & | operator= (const char *pszRef) |
| HashString & | operator+= (const HashString &rstrRef) |
| HashString & | operator+= (const std::string &rstrRef) |
| HashString & | operator+= (const char *pszRef) |
| operator std::string & () | |
| operator const std::string & () const | |
| bool | operator< (const HashString &rstrString) const |
Public Attributes | |
| std::string | m_strData |
Protected Attributes | |
| unsigned int | m_uiHash |
|
|
Empty string |
|
|
Copy string
|
|
|
Copy string
|
|
||||||||||||
|
Construct from char array
|
|
|
Construct from zero terminated string
|
|
||||||||||||
|
Fill string with data
|
|
|
Compare hashed strings
|
|
|
Compare hash values
|
|
|
|
|
|
Calculate hash value of string
|
|
|
|
|
|
|
|
|
Compare hashed strings
|
|
|
Compare hash values
|
|
|
Compare with std::string
|
|
|
Compare with char ptr
|
|
|
Compare hashed strings
|
|
|
Compare hash values
|
|
|
Compare with std::string
|
|
|
Compare with char ptr
|
|
|
Assign from hashed string
|
|
|
Assign from std::string
|
|
|
Assign from null-terminated char array
|
|
|
Concatenate string
|
|
|
Concatenate string
|
|
|
Concatenate string
|
|
|
Implicit conversion to std::string |
|
|
Implicit conversion to std::string |
|
|
Comparison
|
|
|
Hash value of string |
|
|
String data, if you modify this directly you must remember to call HashMe() to update the hash value |
1.3.5