00001 // @(#)root/table:$Id: TFileSet.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: Valery Fine(fine@mail.cern.ch) 03/07/98 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TFileSet 00013 #define ROOT_TFileSet 00014 00015 ////////////////////////////////////////////////////////////////////////// 00016 // // 00017 // TFileSet // 00018 // // 00019 // TFileSet class is a class to convert the // 00020 // "native file system structure" // 00021 // into an instance of the TDataSet class // 00022 // // 00023 ////////////////////////////////////////////////////////////////////////// 00024 00025 #include "TDataSet.h" 00026 #include "TString.h" 00027 00028 class TFileSet : public TDataSet { 00029 public: 00030 TFileSet(); 00031 TFileSet(const TString &dirname, const Char_t *filename=0,Bool_t expand=kTRUE,Int_t maxDepth=10); 00032 virtual ~TFileSet(); 00033 virtual Long_t HasData() const; 00034 virtual Bool_t IsEmpty() const; 00035 virtual Bool_t IsFolder() const; 00036 ClassDef(TFileSet,1) // TDataSet class to read the native file system directory structure in 00037 }; 00038 00039 #endif