|
||||
Warning, file /include/root/TRefArrayProxy.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 // @(#)root/treeplayer:$Id$ 0002 // Author: Markus Frank 20/05/2005 0003 0004 /************************************************************************* 0005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 0006 * All rights reserved. * 0007 * * 0008 * For the licensing terms see $ROOTSYS/LICENSE. * 0009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 0010 *************************************************************************/ 0011 0012 #ifndef ROOT_TRefArrayProxy 0013 #define ROOT_TRefArrayProxy 0014 #include "TRefProxy.h" 0015 0016 //______________________________________________________________________________ 0017 // 0018 // TRefArrayProxy is a container proxy, which allows to access references stored 0019 // in a TRefArray from TTree::Draw 0020 // 0021 //______________________________________________________________________________ 0022 class TRefArrayProxy : public TRefProxy { 0023 public: 0024 // The implicit's constructor and destructor have the correct implementation. 0025 0026 // TVirtualRefProxy overload: Clone the reference proxy (virtual constructor) 0027 TVirtualRefProxy* Clone() const override { return new TRefArrayProxy(*this);} 0028 // TVirtualRefProxy overload: Flag to indicate if this is a container reference 0029 bool HasCounter() const override { return true; } 0030 // TVirtualRefProxy overload: Access referenced object(-data) 0031 void* GetObject(TFormLeafInfoReference* info, void* data, Int_t instance) override; 0032 // TVirtualRefProxy overload: Access to container size (if container reference (ie TRefArray) etc) 0033 Int_t GetCounterValue(TFormLeafInfoReference* info, void *data) override; 0034 }; 0035 #endif // ROOT_TRefArrayProxy
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |