2012/8/2 Chareyre <[email protected]>

> >3/ store the string representation of desired variable
>
> Yes that one too. I aprooved when I read it but didn't recall it.
> Not sure it would be easier than void pointer though, since it would need
> a lot of typecasting.
> Your example is ok in python but the vector3 can't be used in c++ at this
> point. Getting arbitrary types from a string in c++ is another story.
> I guess Christian has in mind to use e.g. clump volume in some c++
> algorithm (right?), else there is little interest in adding variables to
> bodies.
>
>
I was just thinking about using it in python, if it is supposed to be used
in c++, then my solution definitely isn't the best one :-)
Jan
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to