--- parser3/src/include/pa_hash.h 2001/10/29 14:13:14 1.47 +++ parser3/src/include/pa_hash.h 2001/11/05 11:46:24 1.50 @@ -3,9 +3,9 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://design.ru/paf) + Author: Alexander Petrosyan (http://paf.design.ru) - $Id: pa_hash.h,v 1.47 2001/10/29 14:13:14 paf Exp $ + $Id: pa_hash.h,v 1.50 2001/11/05 11:46:24 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