/usr/include/root/TVirtualIndex.h is in libroot-tree-dev 5.34.19+dfsg-1.2.
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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | // @(#)root/tree:$Id$
// Author: Rene Brun 05/07/2004
/*************************************************************************
* Copyright (C) 1995-2004, 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_TVirtualIndex
#define ROOT_TVirtualIndex
//////////////////////////////////////////////////////////////////////////
// //
// TVirtualIndex //
// //
// Abstract interface for Tree Index //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
class TTree;
class TVirtualIndex : public TNamed {
protected:
TTree *fTree; //! pointer to Tree
public:
TVirtualIndex();
virtual ~TVirtualIndex();
virtual void Append(const TVirtualIndex *,Bool_t delaySort = kFALSE) = 0;
virtual Long64_t GetEntryNumberFriend(const TTree * /*parent*/) = 0;
virtual Long64_t GetEntryNumberWithIndex(Long64_t major, Long64_t minor) const = 0;
virtual Long64_t GetEntryNumberWithBestIndex(Long64_t major, Long64_t minor) const = 0;
virtual const char *GetMajorName() const = 0;
virtual const char *GetMinorName() const = 0;
virtual Long64_t GetN() const = 0;
virtual TTree *GetTree() const {return fTree;}
virtual void UpdateFormulaLeaves(const TTree *parent) = 0;
virtual void SetTree(const TTree *T) = 0;
ClassDef(TVirtualIndex,1); //Abstract interface for Tree Index
};
#endif
|