--- parser3/src/include/pa_hash.h 2001/10/29 14:13:14 1.47 +++ parser3/src/include/pa_hash.h 2001/11/01 15:45:27 1.49 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_hash.h,v 1.47 2001/10/29 14:13:14 paf Exp $ + $Id: pa_hash.h,v 1.49 2001/11/01 15:45:27 paf Exp $ */ #ifndef PA_HASH_H @@ -16,7 +16,6 @@ #include "pa_types.h" #include "pa_string.h" - /** Pooled hash. @@ -52,6 +51,9 @@ public: /// put a [value] under the [key], return existed or not bool put(const Key& key, Val *value); + + /// remove the [key] + void remove(const Key& key); /* /// dirty hack to allow constant items storage. I long for Hash bool put(const Key& key, const Val *value) { @@ -156,4 +158,5 @@ private: //disabled Hash& operator = (const Hash&) { return *this; } }; + #endif