ROOT  6.06/09
Reference Guide
TFileSet.h
Go to the documentation of this file.
1 // @(#)root/table:$Id$
2 // Author: Valery Fine(fine@mail.cern.ch) 03/07/98
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TFileSet
13 #define ROOT_TFileSet
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // TFileSet //
18 // //
19 // TFileSet class is a class to convert the //
20 // "native file system structure" //
21 // into an instance of the TDataSet class //
22 // //
23 //////////////////////////////////////////////////////////////////////////
24 
25 #include "TDataSet.h"
26 #include "TString.h"
27 
28 class TFileSet : public TDataSet {
29 public:
30  TFileSet();
31  TFileSet(const TString &dirname, const Char_t *filename=0,Bool_t expand=kTRUE,Int_t maxDepth=10);
32  virtual ~TFileSet();
33  virtual Long_t HasData() const;
34  virtual Bool_t IsEmpty() const;
35  virtual Bool_t IsFolder() const;
36  ClassDef(TFileSet,1) // TDataSet class to read the native file system directory structure in
37 };
38 
39 #endif
static const char * filename()
virtual Long_t HasData() const
This implementation is done in the TDataSet::Purge() method in mind Since this method returns non-zer...
Definition: TFileSet.cxx:143
Basic string class.
Definition: TString.h:137
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual Bool_t IsEmpty() const
to be documented
Definition: TFileSet.cxx:132
long Long_t
Definition: RtypesCore.h:50
virtual Bool_t IsFolder() const
If the title of this TFileSet is "file" it is NOT folder see: TFileSet(TString &dirname,const Char_t *setname,Bool_t expand)
Definition: TFileSet.cxx:157
char Char_t
Definition: RtypesCore.h:29
virtual ~TFileSet()
to be documented
Definition: TFileSet.cxx:125
const Bool_t kTRUE
Definition: Rtypes.h:91