peiyongz 2004/03/01 07:03:08
Modified: c/src/xercesc/util RefHash2KeysTableOf.c
RefHash2KeysTableOf.hpp RefHash3KeysIdPool.c
RefHash3KeysIdPool.hpp RefHashTableOf.c
RefHashTableOf.hpp
Log:
new getter: getHashModulus
Revision Changes Path
1.7 +10 -0 xml-xerces/c/src/xercesc/util/RefHash2KeysTableOf.c
Index: RefHash2KeysTableOf.c
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/RefHash2KeysTableOf.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- RefHash2KeysTableOf.c 17 Dec 2003 00:18:35 -0000 1.6
+++ RefHash2KeysTableOf.c 1 Mar 2004 15:03:08 -0000 1.7
@@ -56,6 +56,9 @@
/**
* $Log$
+ * Revision 1.7 2004/03/01 15:03:08 peiyongz
+ * new getter: getHashModulus
+ *
* Revision 1.6 2003/12/17 00:18:35 cargilld
* Update to memory management so that the static memory manager (one used to call
Initialize) is only for static data.
*
@@ -265,6 +268,13 @@
{
return fMemoryManager;
}
+
+template <class TVal>
+unsigned int RefHash2KeysTableOf<TVal>::getHashModulus() const
+{
+ return fHashModulus;
+}
+
// ---------------------------------------------------------------------------
// RefHash2KeysTableOf: Putters
// ---------------------------------------------------------------------------
1.10 +5 -0 xml-xerces/c/src/xercesc/util/RefHash2KeysTableOf.hpp
Index: RefHash2KeysTableOf.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/RefHash2KeysTableOf.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- RefHash2KeysTableOf.hpp 29 Jan 2004 11:48:46 -0000 1.9
+++ RefHash2KeysTableOf.hpp 1 Mar 2004 15:03:08 -0000 1.10
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.10 2004/03/01 15:03:08 peiyongz
+ * new getter: getHashModulus
+ *
* Revision 1.9 2004/01/29 11:48:46 cargilld
* Code cleanup changes to get rid of various compiler diagnostic messages.
*
@@ -201,6 +204,8 @@
const TVal* get(const void* const key1, const int key2) const;
MemoryManager* getMemoryManager() const;
+ unsigned int getHashModulus() const;
+
// -----------------------------------------------------------------------
// Putters
// -----------------------------------------------------------------------
1.11 +10 -0 xml-xerces/c/src/xercesc/util/RefHash3KeysIdPool.c
Index: RefHash3KeysIdPool.c
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/RefHash3KeysIdPool.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- RefHash3KeysIdPool.c 29 Jan 2004 11:48:46 -0000 1.10
+++ RefHash3KeysIdPool.c 1 Mar 2004 15:03:08 -0000 1.11
@@ -56,6 +56,9 @@
/**
* $Log$
+ * Revision 1.11 2004/03/01 15:03:08 peiyongz
+ * new getter: getHashModulus
+ *
* Revision 1.10 2004/01/29 11:48:46 cargilld
* Code cleanup changes to get rid of various compiler diagnostic messages.
*
@@ -339,6 +342,13 @@
{
return fMemoryManager;
}
+
+template <class TVal>
+unsigned int RefHash3KeysIdPool<TVal>::getHashModulus() const
+{
+ return fHashModulus;
+}
+
// ---------------------------------------------------------------------------
// RefHash3KeysIdPool: Putters
// ---------------------------------------------------------------------------
1.10 +5 -0 xml-xerces/c/src/xercesc/util/RefHash3KeysIdPool.hpp
Index: RefHash3KeysIdPool.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/RefHash3KeysIdPool.hpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- RefHash3KeysIdPool.hpp 29 Jan 2004 11:48:46 -0000 1.9
+++ RefHash3KeysIdPool.hpp 1 Mar 2004 15:03:08 -0000 1.10
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.10 2004/03/01 15:03:08 peiyongz
+ * new getter: getHashModulus
+ *
* Revision 1.9 2004/01/29 11:48:46 cargilld
* Code cleanup changes to get rid of various compiler diagnostic messages.
*
@@ -220,6 +223,8 @@
const TVal* getById(const unsigned elemId) const;
MemoryManager* getMemoryManager() const;
+ unsigned int getHashModulus() const;
+
// -----------------------------------------------------------------------
// Putters
// -----------------------------------------------------------------------
1.14 +8 -0 xml-xerces/c/src/xercesc/util/RefHashTableOf.c
Index: RefHashTableOf.c
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/RefHashTableOf.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- RefHashTableOf.c 29 Jan 2004 11:48:46 -0000 1.13
+++ RefHashTableOf.c 1 Mar 2004 15:03:08 -0000 1.14
@@ -56,6 +56,9 @@
/**
* $Log$
+ * Revision 1.14 2004/03/01 15:03:08 peiyongz
+ * new getter: getHashModulus
+ *
* Revision 1.13 2004/01/29 11:48:46 cargilld
* Code cleanup changes to get rid of various compiler diagnostic messages.
*
@@ -424,6 +427,11 @@
return fMemoryManager;
}
+template <class TVal>
+unsigned int RefHashTableOf<TVal>::getHashModulus() const
+{
+ return fHashModulus;
+}
// ---------------------------------------------------------------------------
// RefHashTableOf: Getters
1.14 +5 -1 xml-xerces/c/src/xercesc/util/RefHashTableOf.hpp
Index: RefHashTableOf.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/RefHashTableOf.hpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- RefHashTableOf.hpp 29 Jan 2004 11:48:46 -0000 1.13
+++ RefHashTableOf.hpp 1 Mar 2004 15:03:08 -0000 1.14
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.14 2004/03/01 15:03:08 peiyongz
+ * new getter: getHashModulus
+ *
* Revision 1.13 2004/01/29 11:48:46 cargilld
* Code cleanup changes to get rid of various compiler diagnostic messages.
*
@@ -235,7 +238,8 @@
// -----------------------------------------------------------------------
TVal* get(const void* const key);
const TVal* get(const void* const key) const;
- MemoryManager* getMemoryManager() const;
+ MemoryManager* getMemoryManager() const;
+ unsigned int getHashModulus() const;
// -----------------------------------------------------------------------
// Setters
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]