Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TConvertClonesArrayToProxy Class Reference

Small helper to read a TBuffer containing a TClonesArray into any valid collection.

Definition at line 20 of file TContainerConverters.h.

Public Member Functions

 TConvertClonesArrayToProxy (TVirtualCollectionProxy *proxy, Bool_t isPointer, Bool_t isPrealloc)
 Constructor.
 ~TConvertClonesArrayToProxy () override
 Destructor.
virtual const TClassGetOnFileClass () const
void operator() (TBuffer &b, void *pmember, Int_t size=0) override
 Read a TClonesArray from the TBuffer b and load it into a (stl) collection.
virtual void SetOnFileClass (const TClass *cl)

Private Attributes

TClassfCollectionClass
Bool_t fIsPointer
Bool_t fIsPrealloc
UInt_t fOffset
TClassRef fOnFileClass
MemberStreamerFunc_t fStreamer

#include <TContainerConverters.h>

Inheritance diagram for TConvertClonesArrayToProxy:
TMemberStreamer

Constructor & Destructor Documentation

◆ TConvertClonesArrayToProxy()

TConvertClonesArrayToProxy::TConvertClonesArrayToProxy ( TVirtualCollectionProxy * proxy,
Bool_t isPointer,
Bool_t isPrealloc )

Constructor.

Definition at line 43 of file TContainerConverters.cxx.

◆ ~TConvertClonesArrayToProxy()

TConvertClonesArrayToProxy::~TConvertClonesArrayToProxy ( )
override

Destructor.

Definition at line 57 of file TContainerConverters.cxx.

Member Function Documentation

◆ GetOnFileClass()

virtual const TClass * TMemberStreamer::GetOnFileClass ( ) const
inlinevirtualinherited

Definition at line 38 of file TMemberStreamer.h.

◆ operator()()

void TConvertClonesArrayToProxy::operator() ( TBuffer & b,
void * pmember,
Int_t size = 0 )
overridevirtual

Read a TClonesArray from the TBuffer b and load it into a (stl) collection.

Reimplemented from TMemberStreamer.

Definition at line 64 of file TContainerConverters.cxx.

◆ SetOnFileClass()

virtual void TMemberStreamer::SetOnFileClass ( const TClass * cl)
inlinevirtualinherited

Definition at line 37 of file TMemberStreamer.h.

Member Data Documentation

◆ fCollectionClass

TClass* TConvertClonesArrayToProxy::fCollectionClass
private

Definition at line 24 of file TContainerConverters.h.

◆ fIsPointer

Bool_t TConvertClonesArrayToProxy::fIsPointer
private

Definition at line 21 of file TContainerConverters.h.

◆ fIsPrealloc

Bool_t TConvertClonesArrayToProxy::fIsPrealloc
private

Definition at line 22 of file TContainerConverters.h.

◆ fOffset

UInt_t TConvertClonesArrayToProxy::fOffset
private

Definition at line 23 of file TContainerConverters.h.

◆ fOnFileClass

TClassRef TMemberStreamer::fOnFileClass
privateinherited

Definition at line 51 of file TMemberStreamer.h.

◆ fStreamer

MemberStreamerFunc_t TMemberStreamer::fStreamer
privateinherited

Definition at line 50 of file TMemberStreamer.h.


The documentation for this class was generated from the following files: