HashedString Class Reference
#include <hashedstring.h>
Public Member Functions | |
HashedString (const TQString &str) | |
HashedString (const char *str) | |
size_t | hash () const |
TQString | str () const |
bool | operator== (const HashedString &rhs) const |
bool | operator< (const HashedString &rhs) const |
Static Public Member Functions | |
static size_t | hashString (const TQString &str) |
Friends | |
TQDataStream & | operator<< (TQDataStream &stream, const HashedString &str) |
TQDataStream & | operator>> (TQDataStream &stream, HashedString &str) |
Detailed Description
A simple class that stores a string together with it's appropriate hash-key.
Definition at line 26 of file hashedstring.h.
Member Function Documentation
◆ operator<()
|
inline |
Does not compare alphabetically, uses the hash-key for ordering.
Definition at line 53 of file hashedstring.h.
The documentation for this class was generated from the following files: