Automatically Generated Streamer
The new automatically generated streamer method is more complicated than a standard one. An additional communication with TBuffer class is developed.
- At the beginning, Streamer asked TBuffer is class modified? If not, it works as usual;
- Before reading of a member streamer requests TBuffer permission to read it. If permission is granted, reading, if not, next member;
- When Streamer returns, it could be called again, to read some skipped members. It could be happened if the order of members was changed
When it works?
- New member added;
- Old member removed;
- Type of member changed, ie. Int to float,int to short, etc…;
- Array size changed;
- Definition of class member changed;