TClassStreamer is used to stream an object of a specific class. The address passed to operator() will be the address of the start of the object.
TClassStreamer(ClassStreamerFunc_t pointer) | |
virtual | ~TClassStreamer() |
virtual TClassStreamer* | Generate() const |
virtual const TClass* | GetOnFileClass() const |
virtual void | operator()(TBuffer& b, void* objp) |
virtual void | SetOnFileClass(const TClass* cl) |
virtual void | Stream(TBuffer& b, void* objp, const TClass* onfileClass) |
TClassStreamer() | |
TClassStreamer(const TClassStreamer& rhs) | |
TClassStreamer& | operator=(const TClassStreamer& rhs) |
{ fOnFileClass = rhs.fOnFileClass; fStreamer = rhs.fStreamer; return *this; }
The address passed to operator() will be the address of the start of the object.
The address passed to operator() will be the address of the start of the object. Overload this routine, if your derived class can optimize the handling of the onfileClass (rather than storing and restoring from the fOnFileClass member.