069adcf555
Lost the functionality to find the real type pointed by a pointer. Ex: a osg::Node pointer point on a osg::Group, if I look for information on the pointer type, the introspection say it is a "osg::Node*". But if I want information on the pointed type, the introspection must return the "osg::Group". This bug come from the osgIntrospection::Value::Ptr_instance_box::ptype() function. In the original version, this function use the member "Instance_base *inst_" like this : typeof(*static_cast<Instance<T> *>(inst_)->_data) But in the new version, this function use the template argument "T": typeof(typename remove_pointer<T>::type) This is a good meta-programming use, but here we need a dynamic request. Moreover the "typeof" macro define in "Reflection" header accept only a type in parameter with the new version. fix: Add the macro "typeofvalue" in "Reflection" header which accept a value or a type in parameter. Restore original code in osgIntrospection::Value::Ptr_instance_box::ptype() function. " |
||
---|---|---|
applications | ||
bin | ||
CMakeModules | ||
dist | ||
doc | ||
examples | ||
include | ||
lib | ||
Make | ||
src | ||
VisualStudio | ||
Xcode | ||
AUTHORS.txt | ||
ChangeLog | ||
CMakeLists.txt | ||
genwrapper.conf | ||
GNUmakefile | ||
INSTALL.txt | ||
LICENSE.txt | ||
NEWS.txt | ||
README.txt | ||
runexamples.bat |
Welcome to the OpenSceneGraph (OSG). For up to date information on the project, how to compile and run libraries and examples, and see the documentation on the OpenSceneGraph website. http://www.openscenegraph.org Robert Osfield. robert@openscenegraph.com July 19th 2006.