Logo ROOT   6.14/05
Reference Guide
List of all members | Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
TVirtualCollectionProxy Class Referenceabstract

Definition at line 39 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
 
char * operator[] (UInt_t idx) const
 
virtual void PopProxy ()=0
 
virtual void PushProxy (void *objectstart)=0
 
virtual UInt_t Size () const =0
 
virtual UInt_t Sizeof () const =0
 

Static Public Attributes

static const Int_t fgIteratorArenaSize = 16
 

Protected Member Functions

virtual void UpdateValueClass (const TClass *oldcl, TClass *newcl)=0
 

Protected Attributes

TClassRef fClass
 
UInt_t fProperties
 

Private Member Functions

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

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 172 of file TVirtualCollectionProxy.h.

◆ CreateIterators_t

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

Definition at line 166 of file TVirtualCollectionProxy.h.

◆ DeleteIterator_t

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

Definition at line 187 of file TVirtualCollectionProxy.h.

◆ DeleteTwoIterators_t

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

Definition at line 188 of file TVirtualCollectionProxy.h.

◆ Next_t

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

Definition at line 179 of file TVirtualCollectionProxy.h.

Member Enumeration Documentation

◆ EProperty

Enumerator
kIsAssociative 
kIsEmulated 
kNeedDelete 
kCustomAlloc 

Definition at line 51 of file TVirtualCollectionProxy.h.

Constructor & Destructor Documentation

◆ TVirtualCollectionProxy() [1/3]

TVirtualCollectionProxy::TVirtualCollectionProxy ( const TVirtualCollectionProxy )
private

◆ TVirtualCollectionProxy() [2/3]

TVirtualCollectionProxy::TVirtualCollectionProxy ( )
inline

Definition at line 73 of file TVirtualCollectionProxy.h.

◆ TVirtualCollectionProxy() [3/3]

TVirtualCollectionProxy::TVirtualCollectionProxy ( TClass cl)
inline

Definition at line 74 of file TVirtualCollectionProxy.h.

◆ ~TVirtualCollectionProxy()

virtual TVirtualCollectionProxy::~TVirtualCollectionProxy ( )
inlinevirtual

Definition at line 77 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 115 of file TVirtualCollectionProxy.h.

◆ Destructor()

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

Reimplemented in TEmulatedCollectionProxy.

Definition at line 109 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 79 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 88 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 91 of file TVirtualCollectionProxy.h.

◆ New() [2/2]

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

Reimplemented in TEmulatedCollectionProxy.

Definition at line 95 of file TVirtualCollectionProxy.h.

◆ NewArray() [1/2]

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

Reimplemented in TEmulatedCollectionProxy.

Definition at line 100 of file TVirtualCollectionProxy.h.

◆ NewArray() [2/2]

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

Reimplemented in TEmulatedCollectionProxy.

Definition at line 104 of file TVirtualCollectionProxy.h.

◆ operator=()

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

◆ operator[]()

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

Definition at line 156 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.

◆ Size()

virtual UInt_t TVirtualCollectionProxy::Size ( ) const
pure virtual

◆ Sizeof()

virtual UInt_t TVirtualCollectionProxy::Sizeof ( ) const
pure virtual

◆ UpdateValueClass()

virtual void TVirtualCollectionProxy::UpdateValueClass ( const TClass oldcl,
TClass newcl 
)
protectedpure virtual

Implemented in TGenCollectionProxy.

Friends And Related Function Documentation

◆ TClass

friend class TClass
friend

Definition at line 48 of file TVirtualCollectionProxy.h.

Member Data Documentation

◆ fClass

TClassRef TVirtualCollectionProxy::fClass
protected

Definition at line 45 of file TVirtualCollectionProxy.h.

◆ fgIteratorArenaSize

const Int_t TVirtualCollectionProxy::fgIteratorArenaSize = 16
static

Definition at line 164 of file TVirtualCollectionProxy.h.

◆ fProperties

UInt_t TVirtualCollectionProxy::fProperties
protected

Definition at line 46 of file TVirtualCollectionProxy.h.

Libraries for TVirtualCollectionProxy:
[legend]

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