Logo ROOT  
Reference Guide
TRefProxy Class Reference

Definition at line 31 of file TRefProxy.h.

Public Member Functions

 TRefProxy ()
 Pointer to the reference class (TRef::Class()) More...
 
 TRefProxy (const TRefProxy &c)
 Copy constructor. More...
 
virtual TVirtualRefProxyClone () const
 TVirtualRefProxy overload: Clone the reference proxy (virtual constructor) More...
 
virtual TClassGetClass () const
 TVirtualRefProxy overload: Getter of reference class (executed when the proxy is adopted) More...
 
virtual Int_t GetCounterValue (TFormLeafInfoReference *, void *)
 TVirtualRefProxy overload: Access to container size (if container reference (ie TRefArray) etc) More...
 
virtual voidGetObject (TFormLeafInfoReference *info, void *data, int instance)
 TVirtualRefProxy overload: Access referenced object(-data) More...
 
virtual voidGetPreparedReference (void *data)
 TVirtualRefProxy overload: Prepare reused reference object (e.g. ZERO data pointers) More...
 
virtual TClassGetValueClass (void *data) const
 TVirtualRefProxy overload: Access to value class. More...
 
virtual Bool_t HasCounter () const
 TVirtualRefProxy overload: Flag to indicate if this is a container reference. More...
 
TRefProxyoperator= (const TRefProxy &c)
 Assignement operator. More...
 
virtual void Release ()
 TVirtualRefProxy overload: Release the reference proxy (virtual destructor) More...
 
virtual void SetClass (TClass *cl)
 TVirtualRefProxy overload: Setter of reference class (executed when the proxy is adopted) More...
 
virtual Bool_t Update ()
 TVirtualRefProxy overload: Update (and propagate) cached information. More...
 
- Public Member Functions inherited from TVirtualRefProxy
virtual ~TVirtualRefProxy ()
 
virtual TVirtualRefProxyClone () const =0
 
virtual TClassGetClass () const =0
 
virtual Int_t GetCounterValue (TFormLeafInfoReference *info, void *data)=0
 
virtual voidGetObject (TFormLeafInfoReference *info, void *data, int instance)=0
 
virtual voidGetPreparedReference (void *data)=0
 
virtual TClassGetValueClass (void *data) const =0
 
virtual Bool_t HasCounter () const =0
 
virtual void Release ()=0
 
virtual void SetClass (TClass *classptr)=0
 
virtual Bool_t Update ()=0
 

Protected Attributes

TClassRef fClass
 

#include <TRefProxy.h>

Inheritance diagram for TRefProxy:
[legend]

Constructor & Destructor Documentation

◆ TRefProxy() [1/2]

TRefProxy::TRefProxy ( )
inline

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

Default constructor

Definition at line 37 of file TRefProxy.h.

◆ TRefProxy() [2/2]

TRefProxy::TRefProxy ( const TRefProxy c)
inline

Copy constructor.

Definition at line 39 of file TRefProxy.h.

Member Function Documentation

◆ Clone()

virtual TVirtualRefProxy * TRefProxy::Clone ( ) const
inlinevirtual

TVirtualRefProxy overload: Clone the reference proxy (virtual constructor)

Implements TVirtualRefProxy.

Reimplemented in TRefArrayProxy.

Definition at line 46 of file TRefProxy.h.

◆ GetClass()

virtual TClass * TRefProxy::GetClass ( ) const
inlinevirtual

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

Implements TVirtualRefProxy.

Definition at line 50 of file TRefProxy.h.

◆ GetCounterValue()

virtual Int_t TRefProxy::GetCounterValue ( TFormLeafInfoReference ,
void  
)
inlinevirtual

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

Implements TVirtualRefProxy.

Reimplemented in TRefArrayProxy.

Definition at line 60 of file TRefProxy.h.

◆ GetObject()

void * TRefProxy::GetObject ( TFormLeafInfoReference info,
void data,
int  instance 
)
virtual

TVirtualRefProxy overload: Access referenced object(-data)

Access referenced object(-data)

Implements TVirtualRefProxy.

Reimplemented in TRefArrayProxy.

Definition at line 48 of file TRefProxy.cxx.

◆ GetPreparedReference()

virtual void * TRefProxy::GetPreparedReference ( void data)
inlinevirtual

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

Implements TVirtualRefProxy.

Definition at line 54 of file TRefProxy.h.

◆ GetValueClass()

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

TVirtualRefProxy overload: Access to value class.

Implements TVirtualRefProxy.

Definition at line 39 of file TRefProxy.cxx.

◆ HasCounter()

virtual Bool_t TRefProxy::HasCounter ( ) const
inlinevirtual

TVirtualRefProxy overload: Flag to indicate if this is a container reference.

Implements TVirtualRefProxy.

Reimplemented in TRefArrayProxy.

Definition at line 58 of file TRefProxy.h.

◆ operator=()

TRefProxy & TRefProxy::operator= ( const TRefProxy c)
inline

Assignement operator.

Definition at line 41 of file TRefProxy.h.

◆ Release()

virtual void TRefProxy::Release ( )
inlinevirtual

TVirtualRefProxy overload: Release the reference proxy (virtual destructor)

Implements TVirtualRefProxy.

Definition at line 44 of file TRefProxy.h.

◆ SetClass()

virtual void TRefProxy::SetClass ( TClass cl)
inlinevirtual

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

Implements TVirtualRefProxy.

Definition at line 48 of file TRefProxy.h.

◆ Update()

Bool_t TRefProxy::Update ( )
virtual

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
protected

Definition at line 33 of file TRefProxy.h.

Libraries for TRefProxy:
[legend]

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