Loading [MathJax]/extensions/MathMenu.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes
TConverterStreamer.h File Reference

Root streamer that calls our converters when reading in non-split mode. More...

#include "TClassStreamer.h"
#include "TVirtualConverter.h"
#include <map>
Include dependency graph for TConverterStreamer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TConverterStreamer
 Root streamer that calls our converter when reading in non-split mode. More...
 

Detailed Description

Root streamer that calls our converters when reading in non-split mode.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov, from code by Marcin Nowak.
Date
Dec, 2006 When we read objects with a converter in non-split mode, we get root to call the converter by installing a custom streamer. For writing, it will just do the normal thing. For reading, it checks the persistent class checksum. If there's a match with one of our registered converters, then rather than trying to read the object directly, we instead read it into a temporary instance of the persistent class, then call the converter to change it to a transient object.

Note that as long as the transient class has a ShowMembers method, then will not prevent the class from being split on output.

Definition in file TConverterStreamer.h.