ROOT
6.08/07
Reference Guide
misc
table
inc
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
TFileSet
Definition:
TFileSet.h:28
TFileSet::TFileSet
TFileSet()
to be documented
Definition:
TFileSet.cxx:43
TString
Basic string class.
Definition:
TString.h:137
Int_t
int Int_t
Definition:
RtypesCore.h:41
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
TFileSet::IsFolder
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
TFileSet::IsEmpty
virtual Bool_t IsEmpty() const
to be documented
Definition:
TFileSet.cxx:132
TFileSet::HasData
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
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TDataSet.h
TString.h
TDataSet
Definition:
TDataSet.h:34
Long_t
long Long_t
Definition:
RtypesCore.h:50
Char_t
char Char_t
Definition:
RtypesCore.h:29
TFileSet::~TFileSet
virtual ~TFileSet()
to be documented
Definition:
TFileSet.cxx:125
kTRUE
const Bool_t kTRUE
Definition:
Rtypes.h:91