Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TVirtualCollectionProxy Class Referenceabstract

Definition at line 38 of file TVirtualCollectionProxy.h.

Classes

class  TPushPop
 

Public Types

typedef void *(* CopyIterator_t) (void *dest, const void *source)
 
typedef void(* CreateIterators_t) (void *collection, void **begin_arena, void **end_arena, TVirtualCollectionProxy *proxy)
 
typedef void(* DeleteIterator_t) (void *iter)
 
typedef void(* DeleteTwoIterators_t) (void *begin, void *end)
 
enum  EProperty { kIsAssociative = BIT(2) , kIsEmulated = BIT(3) , kNeedDelete = BIT(4) , kCustomAlloc = BIT(5) }
 
typedef void *(* Next_t) (void *iter, const void *end)
 

Public Member Functions

 TVirtualCollectionProxy ()
 
 TVirtualCollectionProxy (TClass *cl)
 
virtual ~TVirtualCollectionProxy ()
 
virtual voidAllocate (UInt_t n, Bool_t forceDelete)=0
 
virtual voidAt (UInt_t idx)=0
 
virtual void Clear (const char *opt="")=0
 
virtual void Commit (void *)=0
 
virtual void DeleteArray (void *p, Bool_t dtorOnly=kFALSE) const
 
virtual void Destructor (void *p, Bool_t dtorOnly=kFALSE) const
 
virtual TVirtualCollectionProxyGenerate () const =0
 
virtual TClassGetCollectionClass () const
 
virtual Int_t GetCollectionType () const =0
 
virtual TStreamerInfoActions::TActionSequenceGetConversionReadMemberWiseActions (TClass *oldClass, Int_t version)=0
 
virtual CopyIterator_t GetFunctionCopyIterator (Bool_t read=kTRUE)=0
 
virtual CreateIterators_t GetFunctionCreateIterators (Bool_t read=kTRUE)=0
 
virtual DeleteIterator_t GetFunctionDeleteIterator (Bool_t read=kTRUE)=0
 
virtual DeleteTwoIterators_t GetFunctionDeleteTwoIterators (Bool_t read=kTRUE)=0
 
virtual Next_t GetFunctionNext (Bool_t read=kTRUE)=0
 
virtual ULong_t GetIncrement () const =0
 
virtual Int_t GetProperties () const
 
virtual TStreamerInfoActions::TActionSequenceGetReadMemberWiseActions (Int_t version)=0
 
virtual EDataType GetType () const =0
 
virtual TClassGetValueClass () const =0
 
virtual TStreamerInfoActions::TActionSequenceGetWriteMemberWiseActions ()=0
 
virtual Bool_t HasPointers () const =0
 
virtual void Insert (const void *data, void *container, size_t size)=0
 
virtual voidNew () const
 
virtual voidNew (void *arena) const
 
virtual voidNewArray (Int_t nElements) const
 
virtual voidNewArray (Int_t nElements, void *arena) const
 
virtual TClass::ObjectPtr NewObject () const
 
virtual TClass::ObjectPtr NewObject (void *arena) const
 
virtual TClass::ObjectPtr NewObjectArray (Int_t nElements) const
 
virtual TClass::ObjectPtr NewObjectArray (Int_t nElements, void *arena) const
 
char * operator[] (UInt_t idx) const
 
virtual void PopProxy ()=0
 
virtual void PushProxy (void *objectstart)=0
 
virtual Bool_t Reset ()
 
virtual UInt_t Size () const =0
 
virtual UInt_t Sizeof () const =0
 

Static Public Attributes

static const Int_t fgIteratorArenaSize = 16
 

Protected Attributes

TClassRef fClass
 
UInt_t fProperties
 

Private Member Functions

 TVirtualCollectionProxy (const TVirtualCollectionProxy &)=delete
 
TVirtualCollectionProxyoperator= (const TVirtualCollectionProxy &)=delete
 

Friends

class TClass
 

#include <TVirtualCollectionProxy.h>

Inheritance diagram for TVirtualCollectionProxy:
[legend]

Member Typedef Documentation

◆ CopyIterator_t

typedef void *(* TVirtualCollectionProxy::CopyIterator_t) (void *dest, const void *source)

Definition at line 189 of file TVirtualCollectionProxy.h.

◆ CreateIterators_t

typedef void(* TVirtualCollectionProxy::CreateIterators_t) (void *collection, void **begin_arena, void **end_arena, TVirtualCollectionProxy *proxy)

Definition at line 183 of file TVirtualCollectionProxy.h.

◆ DeleteIterator_t

typedef void(* TVirtualCollectionProxy::DeleteIterator_t) (void *iter)

Definition at line 204 of file TVirtualCollectionProxy.h.

◆ DeleteTwoIterators_t

typedef void(* TVirtualCollectionProxy::DeleteTwoIterators_t) (void *begin, void *end)

Definition at line 205 of file TVirtualCollectionProxy.h.

◆ Next_t

typedef void *(* TVirtualCollectionProxy::Next_t) (void *iter, const void *end)

Definition at line 196 of file TVirtualCollectionProxy.h.

Member Enumeration Documentation

◆ EProperty

Enumerator
kIsAssociative 
kIsEmulated 
kNeedDelete 
kCustomAlloc 

Definition at line 49 of file TVirtualCollectionProxy.h.

Constructor & Destructor Documentation

◆ TVirtualCollectionProxy() [1/3]

TVirtualCollectionProxy::TVirtualCollectionProxy ( const TVirtualCollectionProxy )
privatedelete

◆ TVirtualCollectionProxy() [2/3]

TVirtualCollectionProxy::TVirtualCollectionProxy ( )
inline

Definition at line 71 of file TVirtualCollectionProxy.h.

◆ TVirtualCollectionProxy() [3/3]

TVirtualCollectionProxy::TVirtualCollectionProxy ( TClass cl)
inline

Definition at line 72 of file TVirtualCollectionProxy.h.

◆ ~TVirtualCollectionProxy()

virtual TVirtualCollectionProxy::~TVirtualCollectionProxy ( )
inlinevirtual

Definition at line 75 of file TVirtualCollectionProxy.h.

Member Function Documentation

◆ Allocate()

virtual void * TVirtualCollectionProxy::Allocate ( UInt_t  n,
Bool_t  forceDelete 
)
pure virtual

◆ At()

virtual void * TVirtualCollectionProxy::At ( UInt_t  idx)
pure virtual

◆ Clear()

virtual void TVirtualCollectionProxy::Clear ( const char *  opt = "")
pure virtual

◆ Commit()

virtual void TVirtualCollectionProxy::Commit ( void )
pure virtual

◆ DeleteArray()

virtual void TVirtualCollectionProxy::DeleteArray ( void p,
Bool_t  dtorOnly = kFALSE 
) const
inlinevirtual

Reimplemented in TEmulatedCollectionProxy.

Definition at line 132 of file TVirtualCollectionProxy.h.

◆ Destructor()

virtual void TVirtualCollectionProxy::Destructor ( void p,
Bool_t  dtorOnly = kFALSE 
) const
inlinevirtual

Reimplemented in TEmulatedCollectionProxy.

Definition at line 126 of file TVirtualCollectionProxy.h.

◆ Generate()

virtual TVirtualCollectionProxy * TVirtualCollectionProxy::Generate ( ) const
pure virtual

◆ GetCollectionClass()

virtual TClass * TVirtualCollectionProxy::GetCollectionClass ( ) const
inlinevirtual

Reimplemented in TGenCollectionProxy.

Definition at line 80 of file TVirtualCollectionProxy.h.

◆ GetCollectionType()

virtual Int_t TVirtualCollectionProxy::GetCollectionType ( ) const
pure virtual

Implemented in TGenCollectionProxy.

◆ GetConversionReadMemberWiseActions()

virtual TStreamerInfoActions::TActionSequence * TVirtualCollectionProxy::GetConversionReadMemberWiseActions ( TClass oldClass,
Int_t  version 
)
pure virtual

Implemented in TGenCollectionProxy.

◆ GetFunctionCopyIterator()

virtual CopyIterator_t TVirtualCollectionProxy::GetFunctionCopyIterator ( Bool_t  read = kTRUE)
pure virtual

Implemented in TGenCollectionProxy.

◆ GetFunctionCreateIterators()

virtual CreateIterators_t TVirtualCollectionProxy::GetFunctionCreateIterators ( Bool_t  read = kTRUE)
pure virtual

Implemented in TGenCollectionProxy.

◆ GetFunctionDeleteIterator()

virtual DeleteIterator_t TVirtualCollectionProxy::GetFunctionDeleteIterator ( Bool_t  read = kTRUE)
pure virtual

Implemented in TGenCollectionProxy.

◆ GetFunctionDeleteTwoIterators()

virtual DeleteTwoIterators_t TVirtualCollectionProxy::GetFunctionDeleteTwoIterators ( Bool_t  read = kTRUE)
pure virtual

Implemented in TGenCollectionProxy.

◆ GetFunctionNext()

virtual Next_t TVirtualCollectionProxy::GetFunctionNext ( Bool_t  read = kTRUE)
pure virtual

Implemented in TGenCollectionProxy.

◆ GetIncrement()

virtual ULong_t TVirtualCollectionProxy::GetIncrement ( ) const
pure virtual

Implemented in TGenCollectionProxy.

◆ GetProperties()

virtual Int_t TVirtualCollectionProxy::GetProperties ( ) const
inlinevirtual

Definition at line 89 of file TVirtualCollectionProxy.h.

◆ GetReadMemberWiseActions()

virtual TStreamerInfoActions::TActionSequence * TVirtualCollectionProxy::GetReadMemberWiseActions ( Int_t  version)
pure virtual

Implemented in TGenCollectionProxy.

◆ GetType()

virtual EDataType TVirtualCollectionProxy::GetType ( ) const
pure virtual

Implemented in TGenCollectionProxy.

◆ GetValueClass()

virtual TClass * TVirtualCollectionProxy::GetValueClass ( ) const
pure virtual

Implemented in TGenCollectionProxy.

◆ GetWriteMemberWiseActions()

virtual TStreamerInfoActions::TActionSequence * TVirtualCollectionProxy::GetWriteMemberWiseActions ( )
pure virtual

Implemented in TGenCollectionProxy.

◆ HasPointers()

virtual Bool_t TVirtualCollectionProxy::HasPointers ( ) const
pure virtual

Implemented in TGenCollectionProxy.

◆ Insert()

virtual void TVirtualCollectionProxy::Insert ( const void data,
void container,
size_t  size 
)
pure virtual

◆ New() [1/2]

virtual void * TVirtualCollectionProxy::New ( ) const
inlinevirtual

Reimplemented in TEmulatedCollectionProxy.

Definition at line 92 of file TVirtualCollectionProxy.h.

◆ New() [2/2]

virtual void * TVirtualCollectionProxy::New ( void arena) const
inlinevirtual

Reimplemented in TEmulatedCollectionProxy.

Definition at line 96 of file TVirtualCollectionProxy.h.

◆ NewArray() [1/2]

virtual void * TVirtualCollectionProxy::NewArray ( Int_t  nElements) const
inlinevirtual

Reimplemented in TEmulatedCollectionProxy.

Definition at line 109 of file TVirtualCollectionProxy.h.

◆ NewArray() [2/2]

virtual void * TVirtualCollectionProxy::NewArray ( Int_t  nElements,
void arena 
) const
inlinevirtual

Reimplemented in TEmulatedCollectionProxy.

Definition at line 113 of file TVirtualCollectionProxy.h.

◆ NewObject() [1/2]

virtual TClass::ObjectPtr TVirtualCollectionProxy::NewObject ( ) const
inlinevirtual

Reimplemented in TEmulatedCollectionProxy.

Definition at line 100 of file TVirtualCollectionProxy.h.

◆ NewObject() [2/2]

virtual TClass::ObjectPtr TVirtualCollectionProxy::NewObject ( void arena) const
inlinevirtual

Reimplemented in TEmulatedCollectionProxy.

Definition at line 104 of file TVirtualCollectionProxy.h.

◆ NewObjectArray() [1/2]

virtual TClass::ObjectPtr TVirtualCollectionProxy::NewObjectArray ( Int_t  nElements) const
inlinevirtual

Reimplemented in TEmulatedCollectionProxy.

Definition at line 117 of file TVirtualCollectionProxy.h.

◆ NewObjectArray() [2/2]

virtual TClass::ObjectPtr TVirtualCollectionProxy::NewObjectArray ( Int_t  nElements,
void arena 
) const
inlinevirtual

Reimplemented in TEmulatedCollectionProxy.

Definition at line 121 of file TVirtualCollectionProxy.h.

◆ operator=()

TVirtualCollectionProxy & TVirtualCollectionProxy::operator= ( const TVirtualCollectionProxy )
privatedelete

◆ operator[]()

char * TVirtualCollectionProxy::operator[] ( UInt_t  idx) const
inline

Definition at line 173 of file TVirtualCollectionProxy.h.

◆ PopProxy()

virtual void TVirtualCollectionProxy::PopProxy ( )
pure virtual

Implemented in TGenCollectionProxy.

◆ PushProxy()

virtual void TVirtualCollectionProxy::PushProxy ( void objectstart)
pure virtual

Implemented in TGenCollectionProxy.

◆ Reset()

virtual Bool_t TVirtualCollectionProxy::Reset ( )
inlinevirtual

Reimplemented in TGenCollectionProxy.

Definition at line 78 of file TVirtualCollectionProxy.h.

◆ Size()

virtual UInt_t TVirtualCollectionProxy::Size ( ) const
pure virtual

◆ Sizeof()

virtual UInt_t TVirtualCollectionProxy::Sizeof ( ) const
pure virtual

Friends And Related Symbol Documentation

◆ TClass

friend class TClass
friend

Definition at line 46 of file TVirtualCollectionProxy.h.

Member Data Documentation

◆ fClass

TClassRef TVirtualCollectionProxy::fClass
protected

Definition at line 44 of file TVirtualCollectionProxy.h.

◆ fgIteratorArenaSize

const Int_t TVirtualCollectionProxy::fgIteratorArenaSize = 16
static

Definition at line 181 of file TVirtualCollectionProxy.h.

◆ fProperties

UInt_t TVirtualCollectionProxy::fProperties
protected

Definition at line 45 of file TVirtualCollectionProxy.h.