summaryrefslogtreecommitdiff
path: root/src/maps
diff options
context:
space:
mode:
Diffstat (limited to 'src/maps')
-rw-r--r--src/maps/CVS/Entries9
-rw-r--r--src/maps/CVS/Repository1
-rw-r--r--src/maps/CVS/Root1
-rw-r--r--src/maps/shashmap.h9
-rw-r--r--src/maps/shashmap.tmpl14
5 files changed, 12 insertions, 22 deletions
diff --git a/src/maps/CVS/Entries b/src/maps/CVS/Entries
new file mode 100644
index 0000000..991bf8b
--- /dev/null
+++ b/src/maps/CVS/Entries
@@ -0,0 +1,9 @@
+/hashmap.h/1.12/Fri Mar 4 21:00:44 2005//
+/hashmap.tmpl/1.6/Fri Mar 4 21:00:44 2005//
+/mtools.h/1.7/Mon Feb 21 01:55:49 2005//
+/mtools.tmpl/1.6/Mon Feb 21 01:55:49 2005//
+/nhashmap.h/1.5/Fri Mar 4 21:00:44 2005//
+/nhashmap.tmpl/1.4/Fri Mar 4 21:00:44 2005//
+/shashmap.h/1.8/Fri Mar 4 21:00:44 2005//
+/shashmap.tmpl/1.6/Fri Mar 4 21:00:45 2005//
+D
diff --git a/src/maps/CVS/Repository b/src/maps/CVS/Repository
new file mode 100644
index 0000000..b7c8ecb
--- /dev/null
+++ b/src/maps/CVS/Repository
@@ -0,0 +1 @@
+ychat/src/maps
diff --git a/src/maps/CVS/Root b/src/maps/CVS/Root
new file mode 100644
index 0000000..745de68
--- /dev/null
+++ b/src/maps/CVS/Root
@@ -0,0 +1 @@
+:pserver:anonymous@buetow.org:/usr/home/cvs/cvsroot
diff --git a/src/maps/shashmap.h b/src/maps/shashmap.h
index 99dd7c8..6152ba2 100644
--- a/src/maps/shashmap.h
+++ b/src/maps/shashmap.h
@@ -4,8 +4,6 @@
#include <pthread.h>
#include "hashmap.h"
-#include "../monitor/dump.h"
-
using namespace std;
template
@@ -15,15 +13,11 @@ template
class hash_type = size_hash<string>,
class alloc_type = compare_allocator<string>
>
-class shashmap : protected hashmap<obj_type, key_type_, hash_type, alloc_type>,
- public dumpable
+class shashmap : protected hashmap<obj_type, key_type_, hash_type, alloc_type>
{
private:
pthread_mutex_t mut_shashmap;
-protected:
- virtual void dumpit();
-
public:
explicit shashmap();
~shashmap();
@@ -42,7 +36,6 @@ public:
virtual inline vector<key_type_>* get_key_vector();
virtual inline void run_func( void (*func)(obj_type) );
virtual inline void run_func( void (*func)(obj_type, void*), void* v_arg );
-
};
#include "shashmap.tmpl"
diff --git a/src/maps/shashmap.tmpl b/src/maps/shashmap.tmpl
index c864d28..4559284 100644
--- a/src/maps/shashmap.tmpl
+++ b/src/maps/shashmap.tmpl
@@ -139,17 +139,3 @@ shashmap<obj_type, key_type_, hash_type, alloc_type>::run_func( void (*func)(obj
hashmap<obj_type, key_type_, hash_type, alloc_type>::run_func(func, v_arg);
pthread_mutex_unlock( &mut_shashmap );
}
-
-template<class obj_type, class key_type_, class hash_type, class alloc_type>
-void
-shashmap<obj_type, key_type_, hash_type, alloc_type>::dumpit()
-{
- dumpable::add("[shashmap]");
- vector<key_type_>* p_vec = get_key_vector();
-
- typename vector<key_type_>::iterator iter;
- for (iter = p_vec->begin(); iter != p_vec->end(); ++iter)
- dumpable::add(*iter);
-
- delete p_vec;
-}