Hi Robert, hi all, Here is the first implementation of the metadata system which has been discussed before. It has already been tested with our own project. Gregoire packed files into this archive, and they should be up-to-date regarding to trunk rev 12391.
Changelog: First implementation of the metadata system. - Added: ValueBase class. Base for storing any meta value. - Added: Value<T> class. Values for simple/straightforward types (not intended for database backend and such). - Added: ValueContainer class. Base for storing a set/group/list of values. - Added: ValueContainerMap class (+ MixinMap class). Default container. Keeps no duplicate value names. - Modified: Object class. It now has a ValueContainer instead of userData, and has backward compatibility methods. - Modified: Node class. descriptionList has been removed. Has backward compatibility methods. - Modified: CopyOp class, to reflect changes in Object. - Modified: Drawable class, which was accessing directly the protected "userData" without using a getter. Please note there is still to do (helpers for database backends, change OSG code which was using userData to make use of metas, etc.). Thank you for reviewing this. Cheers, Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
Metadata system 2011-05-16.7z
Description: application/7z-compressed
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
