summaryrefslogtreecommitdiff
path: root/apps/JAWS/PROTOTYPE/JAWS/Cache_Hash_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/JAWS/PROTOTYPE/JAWS/Cache_Hash_T.h')
-rw-r--r--apps/JAWS/PROTOTYPE/JAWS/Cache_Hash_T.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/apps/JAWS/PROTOTYPE/JAWS/Cache_Hash_T.h b/apps/JAWS/PROTOTYPE/JAWS/Cache_Hash_T.h
index 2d310873cb2..1d8a0a2c4ae 100644
--- a/apps/JAWS/PROTOTYPE/JAWS/Cache_Hash_T.h
+++ b/apps/JAWS/PROTOTYPE/JAWS/Cache_Hash_T.h
@@ -1,40 +1,40 @@
/* -*- c++ -*- */
// $Id$
-#ifndef JAWS_CACHE_HASH_T_H
-#define JAWS_CACHE_HASH_T_H
+#ifndef ACE_CACHE_HASH_T_H
+#define ACE_CACHE_HASH_T_H
#include "ace/OS.h"
#include "JAWS/Cache_Object.h"
// Forward declaration
template <class EXT_ID, class INT_ID, class EQ_FUNC>
-class JAWS_Hash_Bucket_Manager;
+class ACE_Hash_Bucket_Manager;
template <class EXT_ID, class HASH_FUNC, class EQ_FUNC>
-class JAWS_Cache_Hash
+class ACE_Cache_Hash
{
public:
- typedef JAWS_Hash_Bucket_Manager<EXT_ID, JAWS_Cache_Object *, EQ_FUNC>
+ typedef ACE_Hash_Bucket_Manager<EXT_ID, ACE_Cache_Object *, EQ_FUNC>
CACHE_BUCKET_MANAGER;
- JAWS_Cache_Hash (ACE_Allocator *alloc = 0, size_t size = 521);
+ ACE_Cache_Hash (ACE_Allocator *alloc = 0, size_t size = 521);
// 521 == smallest number > 512 that is prime. Why is a prime
// number important? I am trying to maximize scattering when using
// mod on the hashed value. This might be bogus though.
- virtual ~JAWS_Cache_Hash (void);
+ virtual ~ACE_Cache_Hash (void);
int find (const EXT_ID &ext_id) const;
- int find (const EXT_ID &ext_id, JAWS_Cache_Object *&int_id) const;
- int bind (const EXT_ID &ext_id, JAWS_Cache_Object *const &int_id);
- int trybind (const EXT_ID &ext_id, JAWS_Cache_Object *&int_id);
- int rebind (const EXT_ID &ext_id, JAWS_Cache_Object *const &int_id,
- EXT_ID &old_ext_id, JAWS_Cache_Object *&old_int_id);
+ int find (const EXT_ID &ext_id, ACE_Cache_Object *&int_id) const;
+ int bind (const EXT_ID &ext_id, ACE_Cache_Object *const &int_id);
+ int trybind (const EXT_ID &ext_id, ACE_Cache_Object *&int_id);
+ int rebind (const EXT_ID &ext_id, ACE_Cache_Object *const &int_id,
+ EXT_ID &old_ext_id, ACE_Cache_Object *&old_int_id);
int unbind (const EXT_ID &ext_id);
- int unbind (const EXT_ID &ext_id, JAWS_Cache_Object *&int_id);
+ int unbind (const EXT_ID &ext_id, ACE_Cache_Object *&int_id);
size_t size (void) const;