-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have finished implementing the XML Object Description (XOD) file format, as well as a unified architechture for loading and saving collections of Vobjects. This presents a single interface for loading and saving Vobjects to/from any supported file type. This means that it will soon be possible to do:

 VobjectStore* vs1 = VobjectImportExport::loadFile(site1, "test.cod");
 VobjectStore* vs2 = VobjectImportExport::loadFile(site1, "test.xml.gz");
 VobjectStore* vs3 = VobjectImportExport::loadFile(site1, "test.vrml");
 VobjectStore* vs4 = VobjectImportExport::loadFile(site1, "test.ase");
 VobjectStore* vs5 = VobjectImportExport::loadFile(site1, "test.map");

Regardless of the file, it should figure out the filetype and "just work".

Of course, we need to write work on writing complete loaders for the various file types, but this should make it a lot easier to incorporate support for new file formats into VOS at all levels.

Similarly, for saving:

 VobjectImportExport::saveFile(vs1, "xod", "test2");
 VobjectImportExport::saveFile(vs2, "cod", "test2");
 VobjectImportExport::saveFile(vs2, "vrml", "test2");

[   Peter Amstutz   ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED]  ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ http://interreality.org ]
[ http://interreality.org/~tetron ][ pgpkey:  pgpkeys.mit.edu  18C21DF7 ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDcDB9aeHUyhjCHfcRAnrZAJ9nypSS2kF6+rkB/bqDu6PiCA52GgCglO0q
IXm9R0tuwQcoGu6JLAaE7Yg=
=zF5+
-----END PGP SIGNATURE-----


_______________________________________________
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d

Reply via email to