libstldb4 0.4.5 review
Downloadlibstldb4 library is a C++ wrapper for sleepycat db4 database. It uses the STL in the API where sensible, allows standard IOStream
|
|
libstldb4 library is a C++ wrapper for sleepycat db4 database.
It uses the STL in the API where sensible, allows standard IOStreams for data access where sensible, e.g. getting the value of a key should be able to use an istream interface to allow simple partial value retreival, and moves the transaction parameter to be the last optional parameter or provides two versions of the same method for trans/nontrans.
The API has been modified to use more standard types. Operator overloading is used to allow quick and dirty coding (mydb[ "key" ] = "value";) to set and cerr.
What's New in This Release:
A potential bug in ~Transaction() was fixed.
Support for using a Loki functor as the database ordering function was added. offsetNullTerminatedSecIdxFunction() was added for secondary indexing.
Transaction::setDefaultDestructionIsAbort() was added to support the RAII design pattern.
libstldb4 0.4.5 keywords