If I am correct the user’s manual describes how to create a custom streamer just for a class inheriting from TObject, i.e. by disabling the automatic generation in the LinkDef and then overriding TObject::Streamer. Is it possible to define a custom streamer also for a class that does not inherit from TObject? Thanks.
I have been able to create the custom streamer by using
TClass::SetStreamerFunc and a proxy object for automatically registering the custom streamer. For those facing the same problem, I attach a simple example source file which I compile in the dictionary library:
CustomStreamer.cpp (923 Bytes)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.