From 6119b465b19e9be095971a33c63b0fa9a0e8a224 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 24 Sep 2008 05:52:36 +0000 Subject: Wow, I realized that the Bu::Array class wasn't finished, and went ahead and wrote it, it's pretty feature complete, index, append, iterators. You can't delete anything yet, exactly, but that's tricky in an array anyway, basically you just want to be able to remove elements from the end, and that's halfway there. Also, fixed some documentation and minor issues in Bu::Set, and made the Bu::Archive include fewer other classes while still defining archive oprators for them. I think I may yet move those into the headers for the classes that are being stored instead, makes a little more sense. I also would like to move the Exception classes out of the exceptions.h file and into the appropriate class' files'. There still should probably be a couple of general ones in there, or maybe just in exceptionbase.h, we'll see. --- src/set.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/set.h') diff --git a/src/set.h b/src/set.h index 7dfa191..42f9eb8 100644 --- a/src/set.h +++ b/src/set.h @@ -16,8 +16,6 @@ #include #include "bu/exceptionbase.h" #include "bu/list.h" -///#include "archival.h" -///#include "archive.h" #define bitsToBytes( n ) (n/32+(n%32>0 ? 1 : 0)) @@ -355,7 +353,7 @@ namespace Bu { if( &hsh != &oth.hsh ) throw SetException( - "Cannot mix iterators from different hash objects."); + "Cannot mix iterators from different set objects."); nPos = oth.nPos; bFinished = oth.bFinished; } @@ -371,7 +369,7 @@ namespace Bu } iterator; /** - * Iteration structure for iterating through the hash (const). + * Iteration structure for iterating through the set (const). */ typedef struct const_iterator { -- cgit v1.2.3