TSystemDirectory


class description - source file - inheritance tree

class TSystemDirectory : public TSystemFile

    private:
TSystemDirectory* FindDirObj(const char* name) TSystemFile* FindFileObj(const char* name, const char* dir) Bool_t IsDirectory(const char* name) const public:
TSystemDirectory TSystemDirectory() TSystemDirectory TSystemDirectory(const char* dirname, const char* path) TSystemDirectory TSystemDirectory(const TSystemDirectory&) virtual void ~TSystemDirectory() virtual void Browse(TBrowser* b) static TClass* Class() virtual void Edit() virtual TList* GetListOfFiles() const virtual TClass* IsA() const virtual Bool_t IsFolder() const virtual void SetDirectory(const char* name) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TOrdCollection* fDirsInBrowser TOrdCollection* fFilesInBrowser

Class Description

                                                                      
 TSystemDirectory                                                     
                                                                      
 Describes an Operating System directory for the browser.             
                                                                      
 Author: Christian Bormann  30/09/97                                  
         http://www.ikf.physik.uni-frankfurt.de/~bormann/             
                                                                      


TSystemDirectory()
 Create a system directory object.

TSystemDirectory(const char *dirname, const char *path) : TSystemFile(dirname, path)
 Create a system directory object.

~TSystemDirectory()
 Delete system directory object.

TList* GetListOfFiles() const
 Returns a TList of TSystemFile objects representing the contents
 of the directory. It's the responsibility of the user to delete
 the list (the list owns the contained objects).
 Returns 0 in case of errors.

void SetDirectory(const char *name)
 Create a system directory object.

Bool_t IsDirectory(const char *name) const
 Check if name is a directory.

void Browse(TBrowser *b)
 Browse OS system directories.

TSystemDirectory* FindDirObj(const char *name)
 Method that returns system directory object if it
 exists in list, 0 otherwise.

TSystemFile* FindFileObj(const char *name, const char *dir)
 Method that returns system file object if it exists in
 list, 0 otherwise.



Inline Functions


                  Bool_t IsFolder() const
                    void Edit()
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
        TSystemDirectory TSystemDirectory(const TSystemDirectory&)


Author: Christian Bormann 13/10/97
Last update: root/base:$Name: $:$Id: TSystemDirectory.cxx,v 1.3 2002/07/31 21:59:16 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.