class TMemberStreamer


TMemberStreamer is used to stream a data member.

The address passed to operator() will be the address of the data
member.


Function Members (Methods)

public:
TMemberStreamer(MemberStreamerFunc_t pointer)
TMemberStreamer(const TMemberStreamer& rhs)
virtual~TMemberStreamer()
virtual const TClass*GetOnFileClass() const
virtual voidoperator()(TBuffer& b, void* pmember, Int_t size = 0)
TMemberStreamer&operator=(const TMemberStreamer&)
virtual voidSetOnFileClass(const TClass* cl)
protected:
TMemberStreamer()

Data Members

private:
TClassReffOnFileClass
MemberStreamerFunc_tfStreamer

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TMemberStreamer()
{}
TMemberStreamer(MemberStreamerFunc_t pointer)
{}
TMemberStreamer(const TMemberStreamer &rhs)
{}
virtual ~TMemberStreamer()
{}
void SetOnFileClass(const TClass* cl)
{ fOnFileClass = const_cast<TClass*>(cl); }
const TClass* GetOnFileClass()
{ return fOnFileClass; }
void operator()(TBuffer& b, void* pmember, Int_t size = 0)
 The address passed to operator() will be the address of the data member.
 If the data member is a variable size array, 'size' is the number of elements
 to read/write

Author: Victor Perev and Philippe Canal 08/05/02
Last change: root/base:$Id: TMemberStreamer.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.