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

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

Destructor.

Definition at line 57 of file TContainerConverters.cxx.

Member Function Documentation

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

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.

Libraries for TConvertClonesArrayToProxy:

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