ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 41 of file TVirtualCollectionProxy.h.

Classes

class  TPushPop
 

Public Types

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

Public Member Functions

 TVirtualCollectionProxy ()
 
 TVirtualCollectionProxy (TClass *cl)
 
virtual TVirtualCollectionProxyGenerate () const =0
 
virtual ~TVirtualCollectionProxy ()
 
virtual TClassGetCollectionClass () const
 
virtual Int_t GetCollectionType () const =0
 
virtual ULong_t GetIncrement () const =0
 
virtual Int_t GetProperties () const
 
virtual voidNew () const
 
virtual voidNew (void *arena) const
 
virtual voidNewArray (Int_t nElements) const
 
virtual voidNewArray (Int_t nElements, void *arena) const
 
virtual void Destructor (void *p, Bool_t dtorOnly=kFALSE) const
 
virtual void DeleteArray (void *p, Bool_t dtorOnly=kFALSE) const
 
virtual UInt_t Sizeof () const =0
 
virtual void PushProxy (void *objectstart)=0
 
virtual void PopProxy ()=0
 
virtual Bool_t HasPointers () const =0
 
virtual TClassGetValueClass () const =0
 
virtual EDataType GetType () const =0
 
virtual voidAt (UInt_t idx)=0
 
virtual void Clear (const char *opt="")=0
 
virtual UInt_t Size () const =0
 
virtual voidAllocate (UInt_t n, Bool_t forceDelete)=0
 
virtual void Commit (void *)=0
 
virtual void Insert (const void *data, void *container, size_t size)=0
 
char * operator[] (UInt_t idx) const
 
virtual
TStreamerInfoActions::TActionSequence
GetConversionReadMemberWiseActions (TClass *oldClass, Int_t version)=0
 
virtual
TStreamerInfoActions::TActionSequence
GetReadMemberWiseActions (Int_t version)=0
 
virtual
TStreamerInfoActions::TActionSequence
GetWriteMemberWiseActions ()=0
 
virtual CreateIterators_t GetFunctionCreateIterators (Bool_t read=kTRUE)=0
 
virtual CopyIterator_t GetFunctionCopyIterator (Bool_t read=kTRUE)=0
 
virtual Next_t GetFunctionNext (Bool_t read=kTRUE)=0
 
virtual DeleteIterator_t GetFunctionDeleteIterator (Bool_t read=kTRUE)=0
 
virtual DeleteTwoIterators_t GetFunctionDeleteTwoIterators (Bool_t read=kTRUE)=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

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

Definition at line 173 of file TVirtualCollectionProxy.h.

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

Definition at line 167 of file TVirtualCollectionProxy.h.

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

Definition at line 188 of file TVirtualCollectionProxy.h.

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

Definition at line 189 of file TVirtualCollectionProxy.h.

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

Definition at line 180 of file TVirtualCollectionProxy.h.

Member Enumeration Documentation

Enumerator
kIsAssociative 
kIsEmulated 
kNeedDelete 

Definition at line 53 of file TVirtualCollectionProxy.h.

Constructor & Destructor Documentation

TVirtualCollectionProxy::TVirtualCollectionProxy ( const TVirtualCollectionProxy )
private
TVirtualCollectionProxy::TVirtualCollectionProxy ( )
inline

Definition at line 74 of file TVirtualCollectionProxy.h.

TVirtualCollectionProxy::TVirtualCollectionProxy ( TClass cl)
inline

Definition at line 75 of file TVirtualCollectionProxy.h.

virtual TVirtualCollectionProxy::~TVirtualCollectionProxy ( )
inlinevirtual

Definition at line 78 of file TVirtualCollectionProxy.h.

Member Function Documentation

virtual void* TVirtualCollectionProxy::Allocate ( UInt_t  n,
Bool_t  forceDelete 
)
pure virtual
virtual void* TVirtualCollectionProxy::At ( UInt_t  idx)
pure virtual
virtual void TVirtualCollectionProxy::Clear ( const char *  opt = "")
pure virtual
virtual void TVirtualCollectionProxy::Commit ( void )
pure virtual
virtual void TVirtualCollectionProxy::DeleteArray ( void p,
Bool_t  dtorOnly = kFALSE 
) const
inlinevirtual

Reimplemented in TEmulatedCollectionProxy.

Definition at line 116 of file TVirtualCollectionProxy.h.

Referenced by TClass::DeleteArray().

virtual void TVirtualCollectionProxy::Destructor ( void p,
Bool_t  dtorOnly = kFALSE 
) const
inlinevirtual
virtual TVirtualCollectionProxy* TVirtualCollectionProxy::Generate ( ) const
pure virtual
virtual TClass* TVirtualCollectionProxy::GetCollectionClass ( ) const
inlinevirtual
virtual Int_t TVirtualCollectionProxy::GetCollectionType ( ) const
pure virtual
virtual TStreamerInfoActions::TActionSequence* TVirtualCollectionProxy::GetConversionReadMemberWiseActions ( TClass oldClass,
Int_t  version 
)
pure virtual
virtual CopyIterator_t TVirtualCollectionProxy::GetFunctionCopyIterator ( Bool_t  read = kTRUE)
pure virtual
virtual CreateIterators_t TVirtualCollectionProxy::GetFunctionCreateIterators ( Bool_t  read = kTRUE)
pure virtual
virtual DeleteIterator_t TVirtualCollectionProxy::GetFunctionDeleteIterator ( Bool_t  read = kTRUE)
pure virtual
virtual DeleteTwoIterators_t TVirtualCollectionProxy::GetFunctionDeleteTwoIterators ( Bool_t  read = kTRUE)
pure virtual
virtual Next_t TVirtualCollectionProxy::GetFunctionNext ( Bool_t  read = kTRUE)
pure virtual
virtual ULong_t TVirtualCollectionProxy::GetIncrement ( ) const
pure virtual
virtual Int_t TVirtualCollectionProxy::GetProperties ( ) const
inlinevirtual
virtual TStreamerInfoActions::TActionSequence* TVirtualCollectionProxy::GetReadMemberWiseActions ( Int_t  version)
pure virtual
virtual EDataType TVirtualCollectionProxy::GetType ( ) const
pure virtual
virtual TClass* TVirtualCollectionProxy::GetValueClass ( ) const
pure virtual

Implemented in TGenCollectionProxy.

Referenced by ROOT::Internal::TTreeGeneratorBase::AddHeader(), TStreamerInfo::AddReadAction(), ROOT::Internal::TTreeProxyGenerator::AnalyzeBranches(), ROOT::Internal::TTreeReaderGenerator::AnalyzeBranches(), ROOT::Internal::TTreeProxyGenerator::AnalyzeElement(), ROOT::Internal::TTreeProxyGenerator::AnalyzeTree(), ROOT::Internal::TTreeReaderGenerator::AnalyzeTree(), TTreeFormula::BranchHasMethod(), TTree::BronchExec(), TStreamerInfo::Build(), TClass::CanSplit(), TTree::CheckBranchAddressType(), TStructViewer::CountMembers(), TBranchSTL::Fill(), ROOT::Detail::TSchemaRuleSet::FindRules(), ROOT::Internal::TTreeReaderArrayBase::GetBranchContentDataType(), TNonSplitBrowsable::GetBrowsables(), TCollectionPropertyBrowsable::GetBrowsables(), TVirtualBranchBrowsable::GetCollectionContainedType(), TBranchSTL::GetEntry(), TTreeFormula::GetLeafWithDatamember(), TStreamerInfo::GetTypedValue(), ROOT::Detail::TSchemaRuleSet::HasRuleWithSourceClass(), TBranchElement::Init(), TBranchElement::InitializeOffsets(), ROOT::Internal::TBranchProxyClassDescriptor::IsLoaded(), TConvertClonesArrayToProxy::operator()(), TConvertMapToProxy::operator()(), ROOT::Internal::TBranchProxyClassDescriptor::OutputDecl(), TTreeFormula::ParseWithLeaf(), ROOT::Internal::R__AddPragmaForClass(), TStreamerInfoActions::ReadArraySTLMemberWiseChangedClass(), TStreamerInfoActions::ReadArraySTLMemberWiseSameClass(), TStreamerInfo::ReadBuffer(), TBranchElement::ReadLeavesCollection(), TGenCollectionStreamer::ReadMap(), TGenCollectionStreamer::ReadObjects(), TStreamerInfoActions::ReadSTLMemberWiseChangedClass(), TStreamerInfoActions::ReadSTLMemberWiseSameClass(), TBranchElement::SetAddress(), TConvertMapToProxy::TConvertMapToProxy(), TStreamerSTL::TStreamerSTL(), and TStreamerInfo::WriteBufferAux().

virtual TStreamerInfoActions::TActionSequence* TVirtualCollectionProxy::GetWriteMemberWiseActions ( )
pure virtual
virtual Bool_t TVirtualCollectionProxy::HasPointers ( ) const
pure virtual
virtual void TVirtualCollectionProxy::Insert ( const void data,
void container,
size_t  size 
)
pure virtual
virtual void* TVirtualCollectionProxy::New ( ) const
inlinevirtual
virtual void* TVirtualCollectionProxy::New ( void arena) const
inlinevirtual

Reimplemented in TEmulatedCollectionProxy.

Definition at line 96 of file TVirtualCollectionProxy.h.

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

Reimplemented in TEmulatedCollectionProxy.

Definition at line 101 of file TVirtualCollectionProxy.h.

Referenced by TClass::NewArray().

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

Reimplemented in TEmulatedCollectionProxy.

Definition at line 105 of file TVirtualCollectionProxy.h.

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

Definition at line 157 of file TVirtualCollectionProxy.h.

virtual void TVirtualCollectionProxy::PopProxy ( )
pure virtual
virtual void TVirtualCollectionProxy::PushProxy ( void objectstart)
pure virtual
virtual UInt_t TVirtualCollectionProxy::Size ( ) const
pure virtual
virtual UInt_t TVirtualCollectionProxy::Sizeof ( ) const
pure virtual
virtual void TVirtualCollectionProxy::UpdateValueClass ( const TClass oldcl,
TClass newcl 
)
protectedpure virtual

Implemented in TGenCollectionProxy.

Friends And Related Function Documentation

friend class TClass
friend

Definition at line 50 of file TVirtualCollectionProxy.h.

Member Data Documentation

TClassRef TVirtualCollectionProxy::fClass
protected
const Int_t TVirtualCollectionProxy::fgIteratorArenaSize = 16
static
UInt_t TVirtualCollectionProxy::fProperties
protected
Collaboration diagram for TVirtualCollectionProxy:
[legend]

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