aboutsummaryrefslogtreecommitdiff
path: root/src/hash.h (follow)
AgeCommit message (Collapse)Author
2007-08-28Minor change that may break some other programs in a very minor way, changedMike Buland
the name of Bu::Hash::size() to Bu::Hash::getSize() to be consistant accross the system.
2007-07-10I Fixed the Hash bug!!!Mike Buland
2007-07-01That was weird. Bu::Hash was basically unusable const'd, this has beenMike Buland
corrected. There may be more operations that need to be fixed, but all basic data operations are fixed and a const_iterator has been added.
2007-06-28Many minor changes, hopefully the header fixes will keep future header macroMike Buland
conflicts from happening. And, from now on, other projects should do -Ilibbu++ not -Ilibbu++/src so we can get ready for an installed version of libbu++.
2007-06-18david - writing code documentation...David
2007-06-11Corrected another issue with the prefix * iterator operator in Bu::Hash, it wasMike Buland
still trying to use a pair internally. Also added more helpers to FString.
2007-06-07The new taf interfaces seem to work just fine, except for saving and that loadedMike Buland
TafNode structures are immutable, it all looks really good. Saving should be a snap, and the immutable part I'm not sure is bad...we'll see what happens. Also, I'm contemplating looking into a way to add "named data structure" support to the Archive at a lower level, then allow it to use a nameing system to apply names to each data structure and then output to any backend that supports naming, like taf, xml, etc.
2007-06-07Minor change to the operation of the Hash, now dereferencing an iterator withMike Buland
the prefix * operator will return only a reference to the value, not a pair, it was causing issues, and you can still get at the key with the getKey function.
2007-06-04Added rudimentary object tracking to Archive, and rearranged the hash andMike Buland
archive dependancies a little. I'll add docs for object tracking later...
2007-04-10Woo, changed the name of Achable to Archival, I dig that, and added the ground-Mike Buland
work for the SSocket, that should be cool.
2007-04-03The first batch seem to have made it alright. Unfortunately the Archive classMike Buland
isn't done yet, I'm going to make it rely on streams, so those will be next, then we can make it work all sortsa' well.
2007-04-03Ok, no code is left in src, it's all in src/old. We'll gradually move code backMike Buland
into src as it's fixed and re-org'd. This includes tests, which, I may write a unit test system into libbu++ just to make my life easier.
2007-03-25Some more updates to Hash and FString.Mike Buland
2007-03-21Fixed an infinite loop rehashing in the has function...whackyMike Buland
2007-03-20Minor updates to the Hash and FString, Hash got a getKeys function, and FStringMike Buland
got the more normal getStr and getSize functions.
2007-03-19Fixed some bugs and added some new goo. You can serialize FStrings and HeshesMike Buland
now.
2007-03-15This version may break hashing of strings, but at least you can hash FStrings...Mike Buland
templates are confusing.
2007-03-02Removed debugging from the HashMike Buland
2007-01-29Added another new helper to Hash.Mike Buland
2007-01-27New feature in Hash, a copy constructor, you can now put a hash into otherMike Buland
templatized containers.
2007-01-19Experimental commit to see if references work...Mike Buland
2007-01-17Added more hash functions, yay hash functions!Mike Buland
2006-11-27Added the new OrdHash, check the test file for an example.Mike Buland
2006-11-24Fixed size bug.Mike Buland
2006-11-24david - added sizeDavid
2006-11-21Nooow everything in the lib is clean with -Wall, hash was a template and didn'tMike Buland
complain until I ran the tests. The tests will be fixed next.
2006-11-21Hash uses real exceptions now, and has a clear() function.Mike Buland
2006-11-21Added a has function to HashMike Buland
2006-11-21Updated a thing.Mike Buland
2006-11-21Added erase functionality, and specializations for using ints as hash keys, soMike Buland
really it does everything the old one did, does it better, easier, and possibly faster.
2006-11-21OK, everything that did work works, but now the HashProxy is as fast as insert,Mike Buland
and has more options. Use [] all you want!
2006-11-21Many good updates, but I'm gonna' switch computers, it'll build again in a sec.Mike Buland
2006-11-21Wow, craziness. Part way through working on the confpair system I got someMike Buland
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!
2006-07-26Added the not-yet-working hash class. More thought must be done. This doesn'tMike Buland
actually change any existing code really just adds a new class that you can't use because it's commented out. I'll probably move it to a branch.