ROOT logo
ROOT » CORE » META » TClassStreamer

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() const
{ 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.