Logo ROOT  
Reference Guide
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. More...
 ~TConvertClonesArrayToProxy ()
 Destructor. More...
void operator() (TBuffer &b, void *pmember, Int_t size=0)
 Read a TClonesArray from the TBuffer b and load it into a (stl) collection. More...
- Public Member Functions inherited from TMemberStreamer
 TMemberStreamer (const TMemberStreamer &rhs)
 TMemberStreamer (MemberStreamerFunc_t pointer)
virtual ~TMemberStreamer ()
virtual const TClassGetOnFileClass () const
TMemberStreameroperator= (const TMemberStreamer &rhs)
virtual void SetOnFileClass (const TClass *cl)

Private Attributes

Bool_t fIsPointer
Bool_t fIsPrealloc
UInt_t fOffset

Additional Inherited Members

- Protected Member Functions inherited from TMemberStreamer
 TMemberStreamer ()

#include <TContainerConverters.h>

Inheritance diagram for TConvertClonesArrayToProxy:

Constructor & Destructor Documentation

◆ TConvertClonesArrayToProxy()

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


Definition at line 43 of file TContainerConverters.cxx.

◆ ~TConvertClonesArrayToProxy()

TConvertClonesArrayToProxy::~TConvertClonesArrayToProxy ( )


Definition at line 57 of file TContainerConverters.cxx.

Member Function Documentation

◆ operator()()

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

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.

Member Data Documentation

◆ fCollectionClass

TClass* TConvertClonesArrayToProxy::fCollectionClass

Definition at line 24 of file TContainerConverters.h.

◆ fIsPointer

Bool_t TConvertClonesArrayToProxy::fIsPointer

Definition at line 21 of file TContainerConverters.h.

◆ fIsPrealloc

Bool_t TConvertClonesArrayToProxy::fIsPrealloc

Definition at line 22 of file TContainerConverters.h.

◆ fOffset

UInt_t TConvertClonesArrayToProxy::fOffset

Definition at line 23 of file TContainerConverters.h.

Libraries for TConvertClonesArrayToProxy:

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