Logo ROOT  
Reference Guide
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

virtual TVirtualRefProxyClone () const
 TVirtualRefProxy overload: Clone the reference proxy (virtual constructor) More...
 
virtual Int_t GetCounterValue (TFormLeafInfoReference *info, void *data)
 TVirtualRefProxy overload: Access to container size (if container reference (ie TRefArray) etc) More...
 
virtual voidGetObject (TFormLeafInfoReference *info, void *data, Int_t instance)
 Access referenced object(-data) More...
 
virtual Bool_t HasCounter () const
 TVirtualRefProxy overload: Flag to indicate if this is a container reference. More...
 
- Public Member Functions inherited from TRefProxy
 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
 

Additional Inherited Members

- Protected Attributes inherited from TRefProxy
TClassRef fClass
 

#include <TRefArrayProxy.h>

Inheritance diagram for TRefArrayProxy:
[legend]

Member Function Documentation

◆ Clone()

virtual TVirtualRefProxy * TRefArrayProxy::Clone ( ) const
inlinevirtual

TVirtualRefProxy overload: Clone the reference proxy (virtual constructor)

Reimplemented from TRefProxy.

Definition at line 27 of file TRefArrayProxy.h.

◆ GetCounterValue()

Int_t TRefArrayProxy::GetCounterValue ( TFormLeafInfoReference info,
void data 
)
virtual

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

Reimplemented from TRefProxy.

Definition at line 32 of file TRefArrayProxy.cxx.

◆ GetObject()

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

Access referenced object(-data)

Reimplemented from TRefProxy.

Definition at line 24 of file TRefArrayProxy.cxx.

◆ HasCounter()

virtual Bool_t TRefArrayProxy::HasCounter ( ) const
inlinevirtual

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

Reimplemented from TRefProxy.

Definition at line 29 of file TRefArrayProxy.h.

Libraries for TRefArrayProxy:
[legend]

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