Correct me if I'm wrong but, I first though that one potential solution to
the initial problem I had could be to add a "setType()" method to the Value
class... This way one could create a Value from a void pointer and then
change the type.... But I realize it was not enough as the template
internal type ( "T" ) would still be set to "const void*" :-(.... It there
really no way to solve this ???
Manu.
2007/7/13, Emmanuel Roche <[EMAIL PROTECTED]>:
In fact, what I would need is a way to access the "class" using the
name... (like in java)... but I'm don't think this is possible... is it ?
snif.
Manu.
2007/7/13, Emmanuel Roche <[EMAIL PROTECTED]>:
>
> Hmmm... sorry for this question if it is a stupid one, but I really
> don't know how to proceed:
>
>
> suppose I have a void pointer (void* myObject for example) and the name
> describing what this pointer is ("osg::Geode" for example)....
>
> is there a solution to build a osgIntrospection::Value from this ? I
> mean, an osgIntrospection::Value "knowing" it is an osg::Geode, so I guess
> not simply built from the void pointer.... :-(
>
> Manu.
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/