I was just writing some generic code where I need to lookup the RefPtr for an FC class given any class type and I noticed that there is no typedef for this tied into the class type. For example, Node::ObjPtr is a typedef for NodePtr, but there is not equivalent for RefPtr's. (I ended up using OSG::RefPtr<Class::ObjPtr>).
I would like to suggest that the developers add a typedef for RefPtr as well. I would do it myself but I can't seem to understand where all the typedefs are actually coming from. There seem to be some in ClassBase, some in Class, some in ClassFields and even within those there seem to be duplicates. It may even be possible to remove some of this duplication and reduce the number of times that PointerBuilder<> is called. Anyway, what do people think, would a typedef for RefPtr's in the class be useful to anyone but me? -Allen ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
