|
From: Vlad J. <vla...@ho...> - 2004-05-27 05:02:03
|
Guyver, I am not quite sure what objects are you going to serialize? The ones you will be using for the baseview? Is it just temporary implementation? Regards, mamutas -----Original Message----- From: xen...@li... [mailto:xen...@li...] On Behalf Of Guyver Sent: Monday, May 10, 2004 8:58 AM To: Xenocide Programming List Subject: [Xenocide-programming] Simple interface for serializing. Here's my first code (not much thou:). Working on baseview I found that no one has tried to read data, that is really needed, becouse we are making data driven engine. While RedKnight is working in collaboration with Yake developers on creating automatic serialization mechanism, I drafted small replacement, to use in my developement. Derive from it and implement serialize as you like. Guyver PS. There's also IDataInterface class, which is supposed to work as workaround for purpose of registring variables and/or functions to use in scripting engine like Lua, (I'm using luabind becouse of it's simplicity). It's not like scripting will look like in future, but helps before that future comes. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.691 / Virus Database: 452 - Release Date: 5/26/2004 |