Hi Carsten. I just noticed that I misconfigured my smtp server and that this was never sent. Sorry, for the late reply.
Carsten Neumann schrieb: > > > hm, I might miss some ugly details here, but using boost::bind does not > sound so bad to me. Instead of the mask you pass in a member function > pointer and bind it to the container pointer for the actual call [1]. Do > you (expect to) run into cases where it gets more messy ? > Hm. I'll have another look at it, but it would make things more complicated, for sure... >> If you're >> interested in what happens exactely I'll send you the code of the >> list... >> However: I think that if there is the possibility to get non const >> references to the values of the field, you should be able to keep them >> and work with them. >> > > They are not really meant to be kept around (just like references to > elements of a std::vector are dangerous). Admittedly it does not say so > anywhere, but to be honest I had not thought of that use so far. > Well, C++ is always dangerous if you see it that way... >> However, I'm open for suggestions (this is work in >> progress). Maybe we could add something like >> editSFieldDangerousForDominikOnly()? ;) Or maybe a big fat warning as >> a comment (...a what?!) would already do? >> > > Hm, do you think your wrapper templates would be useful to others? Would > you be willing to contribute them? If they were part of OpenSG, we could > perhaps make them friends of FieldContainer and solve the problem that way? > Another alternative could be that you keep a (fairly simple) local patch > that makes the change only on your end. I see your point with this, but > I'd rather examine the alternatives first before opening that interface up. > I doubt, they are very tightly coupled to lots of other code (xml read/write, my EventSystem etc.). I think for the first run, I just stick with the local patch, maybe I find a better idea... The funny thing about this is: I'm the first (and only?) 2.0 user who wants the beginEditCP back. Oh the irony... :) I'll come back to this. Thanks, Dominik ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
