Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
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 (MemberStreamerFunc_t pointer)
 
 TMemberStreamer (const TMemberStreamer &rhs)
 
virtual ~TMemberStreamer ()
 
virtual const TClassGetOnFileClass () const
 
TMemberStreameroperator= (const TMemberStreamer &rhs)
 
virtual void SetOnFileClass (const TClass *cl)
 

Private Attributes

TClassfCollectionClass
 
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:
[legend]

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 ( )

Destructor.

Definition at line 57 of file TContainerConverters.cxx.

Member Function Documentation

◆ operator()()

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

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
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.


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