TFileSet
class description - source file - inheritance tree
public:
TFileSet TFileSet()
TFileSet TFileSet(const TString& dirname, const Char_t* filename = 0, Bool_t expand = kTRUE)
TFileSet TFileSet(TFileSet&)
virtual void ~TFileSet()
static TClass* Class()
virtual Long_t HasData() const
virtual TClass* IsA() const
virtual Bool_t IsEmpty() const
virtual Bool_t IsFolder() const
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
TFileSet
TFileSet class is a class to convert the
"native file system structure"
into an instance of the TDataSet class
Example:
How to convert your home directory into the OO dataset
root [0] TString home = "$HOME";
root [1] TFileSet set(home);
root [2] TBrowser b("MyHome",&set);
root [3] set.ls("*");
TFileSet()
: TDataSet()
TFileSet(const TString &dirname,const Char_t *setname,Bool_t expand)
: TDataSet()
Creates TFileSet
Convert the "opearting system" file system tree into the memory resided TFileSet
Parameters:
-----------
dirname - the name of the "native file system" directory
to convert into TFileSet
setname - the name of this TFileSet (it is the "base name"
of the "dirname" by default)
expand - flag whether the "dirname" must be "expanded
(kTRUE by default)
~TFileSet()
Bool_t IsEmpty() const
Long_t HasData() const
This implementation is done in the TDataSet::Purge() method in mind
Since this method returns non-zero for files the last are NOT "purged"
by TDataSet::Purge()
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)
Inline Functions
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TFileSet TFileSet(TFileSet&)
Author: Valery Fine(fine@mail.cern.ch) 03/07/98
Last update: root/star:$Name: $:$Id: TFileSet.cxx,v 1.2 2000/09/05 09:21:24 brun Exp $
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.