Re: [osg-users] Utility of using Drawable:: ...

2010-01-07 Thread D.J. Caldwell
François, I'm glad I could help. Thanks for your reply; I was afraid that my explaination might not have made much sense (which is why I posted the link with my reply). We all have things to learn; we will just have to keep searching for good things to know and share that knowledge when we can.

Re: [osg-users] Utility of using Drawable:: ...

2010-01-06 Thread François Bodic
Thank you for this clear explanation and the interesting link. I really didn't know this C++ feature. You make me less idiot :D Cheers, François -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22196#22196 _

Re: [osg-users] Utility of using Drawable:: ...

2010-01-06 Thread D.J. Caldwell
Hi, François. A "using" directive can be used for things other than namespaces. In this case, the "using" directive introduces all instances of "supports" and "accepts" from the class Drawable scope (I think they're all in the public scope of that class) into the public scope of class ShapeDrawab

[osg-users] Utility of using Drawable:: ...

2010-01-06 Thread François Bodic
Hi, I cannot figure out the role of the next two lines in the ShapeDrawable implementation. I thought that the keyword "using" was only for namespaces... Can someone help me? using Drawable::supports using Drawable::accept Thank you! Cheers, François -- Read this topic online