#include <mstring.h>
Inheritance diagram for String:
Public Methods | |
int | operator== (const Comparable &other) const |
char * | getbuffer () const |
virtual int | hashfunc (int hashsize) const |
Supports cached hash-number calculation.
Definition at line 82 of file mstring.h.
|
Returns a non-const pointer to the string buffer. Dangerous. |
|
Hash function. Inheritors should overload this if they want to be used as a key in Map, etc.
Reimplemented from Comparable. |
|
Equality comparison. Must be overloaded. Implements Comparable. |