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

Definition at line 28 of file TRefProxy.h.

Public Member Functions

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

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 34 of file TRefProxy.h.

◆ TRefProxy() [2/2]

TRefProxy::TRefProxy ( const TRefProxy c)
inline

Copy constructor.

Definition at line 36 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 43 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 47 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 57 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 51 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 55 of file TRefProxy.h.

◆ operator=()

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

Assignement operator.

Definition at line 38 of file TRefProxy.h.

◆ Release()

virtual void TRefProxy::Release ( )
inlinevirtual

TVirtualRefProxy overload: Release the reference proxy (virtual destructor)

Implements TVirtualRefProxy.

Definition at line 41 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 45 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 30 of file TRefProxy.h.

Libraries for TRefProxy:

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