/usr/include/root/TRefArrayProxy.h is in libroot-tree-treeplayer-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | // @(#)root/treeplayer:$Id$
// Author: Markus Frank 20/05/2005
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TRefArrayProxy
#define ROOT_TRefArrayProxy
#ifndef ROOT_TRefProxy
#include "TRefProxy.h"
#endif
//______________________________________________________________________________
//
// TRefArrayProxy is a container proxy, which allows to access references stored
// in a TRefArray from TTree::Draw
//
//______________________________________________________________________________
class TRefArrayProxy : public TRefProxy {
public:
// The implicit's constructor and destructor have the correct implementation.
// TVirtualRefProxy overload: Clone the reference proxy (virtual constructor)
virtual TVirtualRefProxy* Clone() const { return new TRefArrayProxy(*this);}
// TVirtualRefProxy overload: Flag to indicate if this is a container reference
virtual Bool_t HasCounter() const { return kTRUE; }
// TVirtualRefProxy overload: Access referenced object(-data)
virtual void* GetObject(TFormLeafInfoReference* info, void* data, Int_t instance);
// TVirtualRefProxy overload: Access to container size (if container reference (ie TRefArray) etc)
virtual Int_t GetCounterValue(TFormLeafInfoReference* info, void *data);
};
#endif // ROOT_TRefArrayProxy
|