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.
 
TVirtualRefProxyClone () const override
 TVirtualRefProxy overload: Clone the reference proxy (virtual constructor)
 
TClassGetClass () const override
 TVirtualRefProxy overload: Getter of reference class (executed when the proxy is adopted)
 
Int_t GetCounterValue (TFormLeafInfoReference *, void *) override
 TVirtualRefProxy overload: Access to container size (if container reference (ie TRefArray) etc)
 
void * GetObject (TFormLeafInfoReference *info, void *data, int instance) override
 TVirtualRefProxy overload: 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
 TVirtualRefProxy overload: Flag to indicate if this is a container reference.
 
TRefProxyoperator= (const TRefProxy &c)
 Assignement operator.
 
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.
 
- 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()

TVirtualRefProxy * TRefProxy::Clone ( ) const
inlineoverridevirtual

TVirtualRefProxy overload: Clone the reference proxy (virtual constructor)

Implements TVirtualRefProxy.

Definition at line 43 of file TRefProxy.h.

◆ GetClass()

TClass * TRefProxy::GetClass ( ) const
inlineoverridevirtual

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 TRefProxy::GetCounterValue ( TFormLeafInfoReference ,
void *   
)
inlineoverridevirtual

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

Implements TVirtualRefProxy.

Definition at line 57 of file TRefProxy.h.

◆ GetObject()

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

TVirtualRefProxy overload: Access referenced object(-data)

Access referenced object(-data)

Implements TVirtualRefProxy.

Definition at line 48 of file TRefProxy.cxx.

◆ GetPreparedReference()

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

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
overridevirtual

TVirtualRefProxy overload: Access to value class.

Implements TVirtualRefProxy.

Definition at line 39 of file TRefProxy.cxx.

◆ HasCounter()

bool TRefProxy::HasCounter ( ) const
inlineoverridevirtual

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

Implements TVirtualRefProxy.

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()

void TRefProxy::Release ( )
inlineoverridevirtual

TVirtualRefProxy overload: Release the reference proxy (virtual destructor)

Implements TVirtualRefProxy.

Definition at line 41 of file TRefProxy.h.

◆ SetClass()

void TRefProxy::SetClass ( TClass cl)
inlineoverridevirtual

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 ( )
overridevirtual

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: