Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TRefArrayProxy Class Reference

A container proxy, which allows to access references stored in a TRefArray from TTree::Draw.

Definition at line 22 of file TRefArrayProxy.h.

Public Member Functions

TVirtualRefProxyClone () const override
TClassGetClass () const override
 TVirtualRefProxy overload: Getter of reference class (executed when the proxy is adopted).
Int_t GetCounterValue (TFormLeafInfoReference *info, void *data) override
 TVirtualRefProxy overload: Access to container size (if container reference (ie TRefArray) etc).
void * GetObject (TFormLeafInfoReference *info, void *data, Int_t instance) override
 Access referenced object(-data).
void * GetPreparedReference (void *data) override
 TVirtualRefProxy overload: Prepare reused reference object (e.g. ZERO data pointers).
TClassGetValueClass (void *data) const override
 TVirtualRefProxy overload: Access to value class.
bool HasCounter () const override
void Release () override
 TVirtualRefProxy overload: Release the reference proxy (virtual destructor).
void SetClass (TClass *cl) override
 TVirtualRefProxy overload: Setter of reference class (executed when the proxy is adopted).
bool Update () override
 TVirtualRefProxy overload: Update (and propagate) cached information.

Protected Attributes

TClassRef fClass
 ! Pointer to the reference class (TRef::Class())

#include <TRefArrayProxy.h>

Inheritance diagram for TRefArrayProxy:
TRefProxy TVirtualRefProxy

Member Function Documentation

◆ Clone()

TVirtualRefProxy * TRefArrayProxy::Clone ( ) const
inlineoverridevirtual

Implements TVirtualRefProxy.

Definition at line 27 of file TRefArrayProxy.h.

◆ GetClass()

TClass * TRefProxy::GetClass ( ) const
inlineoverridevirtualinherited

TVirtualRefProxy overload: Getter of reference class (executed when the proxy is adopted).

Implements TVirtualRefProxy.

Definition at line 47 of file TRefProxy.h.

◆ GetCounterValue()

Int_t TRefArrayProxy::GetCounterValue ( TFormLeafInfoReference * info,
void * data )
overridevirtual

TVirtualRefProxy overload: Access to container size (if container reference (ie TRefArray) etc).

Implements TVirtualRefProxy.

Definition at line 32 of file TRefArrayProxy.cxx.

◆ GetObject()

void * TRefArrayProxy::GetObject ( TFormLeafInfoReference * info,
void * data,
Int_t instance )
overridevirtual

Access referenced object(-data).

Implements TVirtualRefProxy.

Definition at line 24 of file TRefArrayProxy.cxx.

◆ GetPreparedReference()

void * TRefProxy::GetPreparedReference ( void * data)
inlineoverridevirtualinherited

TVirtualRefProxy overload: Prepare reused reference object (e.g. ZERO data pointers).

Implements TVirtualRefProxy.

Definition at line 51 of file TRefProxy.h.

◆ GetValueClass()

TClass * TRefProxy::GetValueClass ( void * data) const
overridevirtualinherited

TVirtualRefProxy overload: Access to value class.

Implements TVirtualRefProxy.

Definition at line 39 of file TRefProxy.cxx.

◆ HasCounter()

bool TRefArrayProxy::HasCounter ( ) const
inlineoverridevirtual

Implements TVirtualRefProxy.

Definition at line 29 of file TRefArrayProxy.h.

◆ Release()

void TRefProxy::Release ( )
inlineoverridevirtualinherited

TVirtualRefProxy overload: Release the reference proxy (virtual destructor).

Implements TVirtualRefProxy.

Definition at line 41 of file TRefProxy.h.

◆ SetClass()

void TRefProxy::SetClass ( TClass * cl)
inlineoverridevirtualinherited

TVirtualRefProxy overload: Setter of reference class (executed when the proxy is adopted).

Implements TVirtualRefProxy.

Definition at line 45 of file TRefProxy.h.

◆ Update()

bool TRefProxy::Update ( )
overridevirtualinherited

TVirtualRefProxy overload: Update (and propagate) cached information.

class TRefProxy A reference proxy, which allows to access ROOT references (TRef) stored contained in other objects from TTree::Draw

TVirtualRefProxy overload: Update (and propagate) cached information

Implements TVirtualRefProxy.

Definition at line 31 of file TRefProxy.cxx.

Member Data Documentation

◆ fClass

TClassRef TRefProxy::fClass
protectedinherited

! Pointer to the reference class (TRef::Class())

Definition at line 30 of file TRefProxy.h.


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