class TClassStreamer


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.


Function Members (Methods)

public:
TClassStreamer(ClassStreamerFunc_t pointer)
TClassStreamer(const TClassStreamer& rhs)
virtual~TClassStreamer()
virtual TClassStreamer*Generate()
virtual const TClass*GetOnFileClass() const
virtual voidoperator()(TBuffer& b, void* objp)
TClassStreamer&operator=(const TClassStreamer&)
virtual voidSetOnFileClass(const TClass* cl)
protected:
TClassStreamer()

Data Members

protected:
TClassReffOnFileClass
private:
ClassStreamerFunc_tfStreamer

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TClassStreamer()
{}
TClassStreamer(ClassStreamerFunc_t pointer)
{}
TClassStreamer(const TClassStreamer &rhs)
{}
void SetOnFileClass(const TClass* cl)
{ fOnFileClass = const_cast<TClass*>(cl); }
const TClass* GetOnFileClass()
{ return fOnFileClass; }
TClassStreamer * Generate()
 Virtual copy constructor.
virtual ~TClassStreamer()
{}
void operator()(TBuffer& b, void* objp)
 The address passed to operator() will be the address of the start of the
 object.

Author: Victor Perev and Philippe Canal 08/05/02
Last change: root/base:$Id: TClassStreamer.h 25450 2008-09-18 21:13:42Z pcanal $
Last generated: 2008-09-19 09:32
Copyright (C) 1995-2003, Rene Brun, Fons Rademakers and al. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.