ROOT » CORE » META » TMemberStreamer

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:
virtual~TMemberStreamer()
virtual const TClass*GetOnFileClass() const
virtual voidoperator()(TBuffer& b, void* pmember, Int_t size = 0)
TMemberStreamer&operator=(const TMemberStreamer& rhs)
virtual voidSetOnFileClass(const TClass* cl)
TMemberStreamer(MemberStreamerFunc_t pointer)
TMemberStreamer(const TMemberStreamer& rhs)
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)
{}
TMemberStreamer & operator=(const TMemberStreamer& rhs)
{ fStreamer = rhs.fStreamer; return *this; }
virtual ~TMemberStreamer()
{}
void SetOnFileClass(const TClass* cl)
{ fOnFileClass = const_cast<TClass*>(cl); }
const TClass* GetOnFileClass() const
{ 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