ObjectStream: Difference between revisions
(New page: While this is almost standing on its own legs now, I may want to consider integration with boost::serialization... ObjectStream up and running! Cool! Needs a bit of refactoring.....) |
No edit summary |
||
Line 39: | Line 39: | ||
replace Node/Nodefile/TNode with a serialization archive class? | replace Node/Nodefile/TNode with a serialization archive class? | ||
rewrite and rename | rewrite and rename any concepts originally from Parody (TNode, Key, NodeFile, etc.) | ||
Revision as of 13:14, 30 January 2008
While this is almost standing on its own legs now, I may want to consider integration with boost::serialization...
ObjectStream up and running! Cool! Needs a bit of refactoring...
added BaseDatabase sample, fully compiling!
// Adding the following to the project... // BaseDatabase/ // BaseDatabase.* // Persistent.* // NodeFile.* // Btree.* // Node.* // DatabaseArray.* // Key.* // TNode.* // ..\..\Reusable\Win32\MFC\Crypto\blowfish.(h/cpp/dat) #include <BaseDatabase/BaseDatabase.h>
only added 16k to HangTheDJ.exe
now, I need to...
x rename ObjectStream object to BaseDatabase remove encryption implementation remove use of ObjectRefs - only classnames
create a second class, named ObjectDatabase derive from BaseDatabase incorporate ObjectReferences incorporate blowfish encryption include default keys for header and object
refactor/rewrite! replace btree with an LGPL version or boost version replace NewObject with something from boost replace Persistent and Read()/Write() (or use serialization in it) replace Node/Nodefile/TNode with a serialization archive class?
rewrite and rename any concepts originally from Parody (TNode, Key, NodeFile, etc.)
DESIGN NOTES
----- database file ---- header node1 object1 header object1 keys object1 data1 node2 object1 data2 node3 object1 data4 node4 object1 data3