diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-11-21 12:23:13 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-11-21 12:23:13 +0000 |
commit | 4b8bad3d711f39db84f094edf83c5496a3f02cd6 (patch) | |
tree | bbaf654af3e82e67544ae17f07b7fbe7d02ce0ec /src/hashable.h | |
parent | 737b1aee54da9ff45a4fb6eb7e636eff9019128e (diff) | |
download | libbu++-4b8bad3d711f39db84f094edf83c5496a3f02cd6.tar.gz libbu++-4b8bad3d711f39db84f094edf83c5496a3f02cd6.tar.bz2 libbu++-4b8bad3d711f39db84f094edf83c5496a3f02cd6.tar.xz libbu++-4b8bad3d711f39db84f094edf83c5496a3f02cd6.zip |
Wow, craziness. Part way through working on the confpair system I got some
sudden insperation and completely redid Hash. Now everything but delete is
implemented, including typesafe iterators and more. It's really cool, and
everyone should check it out and start using it right away!
Diffstat (limited to 'src/hashable.h')
-rw-r--r-- | src/hashable.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hashable.h b/src/hashable.h index 33ff8b8..ce49130 100644 --- a/src/hashable.h +++ b/src/hashable.h | |||
@@ -1,10 +1,11 @@ | |||
1 | #ifndef HASHABLE_H | 1 | #ifndef HASHABLE_H |
2 | #define HASHABLE_H | 2 | #define HASHABLE_H |
3 | /* | 3 | |
4 | class Hashable | 4 | class Hashable |
5 | { | 5 | { |
6 | public: | 6 | public: |
7 | virtual unsigned long int getHashCode() = 0; | 7 | virtual unsigned long int getHashCode() = 0; |
8 | virtual bool compareForHash( Hashable &other ) = 0; | ||
8 | }; | 9 | }; |
9 | */ | 10 | |
10 | #endif | 11 | #endif |