hi,
Sometimes it is useful to use X.show() in logging ( for example transformation.show()) is there a way to do that?
thanks, keren.
IMP_LOG_WRITE. I believe the stream parameter is IMP_STREAM (but it says it in the doc).
That said, any object which has a show, should support operator<< (via the IMP_OUTPUT_OPERATOR(classname) macro) and if it doesn't that is a bug and the macro should be added with the base class as the classname.
On Mar 1, 2009, at 6:20 PM, Keren Lasker wrote:
> hi, > > Sometimes it is useful to use X.show() in logging ( for example > transformation.show()) > is there a way to do that? > > thanks, > keren. > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
thanks ! On Mar 1, 2009, at 6:27 PM, Daniel Russel wrote:
> IMP_LOG_WRITE. I believe the stream parameter is IMP_STREAM (but it > says it in the doc). > > That said, any object which has a show, should support operator<< > (via the IMP_OUTPUT_OPERATOR(classname) macro) and if it doesn't > that is a bug and the macro should be added with the base class as > the classname. > > > On Mar 1, 2009, at 6:20 PM, Keren Lasker wrote: > >> hi, >> >> Sometimes it is useful to use X.show() in logging ( for example >> transformation.show()) >> is there a way to do that? >> >> thanks, >> keren. >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev
participants (2)
-
Daniel Russel
-
Keren Lasker