ROOT  6.06/09
Reference Guide
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 22 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)
 
TMemberStreameroperator= (const TMemberStreamer &rhs)
 
virtual ~TMemberStreamer ()
 
virtual void SetOnFileClass (const TClass *cl)
 
virtual const TClassGetOnFileClass () const
 

Private Attributes

Bool_t fIsPointer
 
Bool_t fIsPrealloc
 
UInt_t fOffset
 
TClassfCollectionClass
 

Additional Inherited Members

- Protected Member Functions inherited from TMemberStreamer
 TMemberStreamer ()
 

#include <TContainerConverters.h>

+ Inheritance diagram for TConvertClonesArrayToProxy:
+ Collaboration diagram for TConvertClonesArrayToProxy:

Constructor & Destructor Documentation

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

Constructor.

Definition at line 43 of file TContainerConverters.cxx.

TConvertClonesArrayToProxy::~TConvertClonesArrayToProxy ( )

Destructor.

Definition at line 57 of file TContainerConverters.cxx.

Member Function Documentation

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

TClass* TConvertClonesArrayToProxy::fCollectionClass
private

Definition at line 26 of file TContainerConverters.h.

Referenced by operator()().

Bool_t TConvertClonesArrayToProxy::fIsPointer
private

Definition at line 23 of file TContainerConverters.h.

Referenced by operator()().

Bool_t TConvertClonesArrayToProxy::fIsPrealloc
private

Definition at line 24 of file TContainerConverters.h.

Referenced by operator()().

UInt_t TConvertClonesArrayToProxy::fOffset
private

Definition at line 25 of file TContainerConverters.h.

Referenced by operator()(), and TConvertClonesArrayToProxy().


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