ROOT logo
ROOT » CORE » BASE » TSystemDirectory

class TSystemDirectory: public TSystemFile


TSystemDirectory

Describes an Operating System directory for the browser.

Author: Christian Bormann  30/09/97
http://www.ikf.physik.uni-frankfurt.de/~bormann/


Function Members (Methods)

public:
TSystemDirectory()
TSystemDirectory(const char* dirname, const char* path)
virtual~TSystemDirectory()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidBrowse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidCopy(const char*)
virtual voidCopy(TObject&) const
virtual voidDelete()
virtual voidDelete(Option_t*)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidDrawClass() const
virtual TObject*DrawClone(Option_t*) const
virtual voidTSystemFile::Dump() const
virtual voidEdit()
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TSystemFile::GetIconName() const
virtual TList*GetListOfFiles() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTSystemFile::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tIsDirectory(const char* = 0) const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tIsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidMove(const char*)
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidTSystemFile::Rename(const char* name)MENU
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidSetDirectory(const char* name)
virtual voidSetDrawOption(Option_t*)
static voidTObject::SetDtorOnly(void* obj)
virtual voidTSystemFile::SetIconName(const char* name)
virtual voidSetName(const char* name)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetTitle(const char* title)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
TSystemDirectory(const TSystemDirectory&)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
TSystemDirectory*FindDirObj(const char* name)
TSystemFile*FindFileObj(const char* name, const char* dir)
Bool_tIsItDirectory(const char* name) const
voidTObject::MakeZombie()
TSystemDirectory&operator=(const TSystemDirectory&)

Data Members

protected:
TOrdCollection*fDirsInBrowser
TOrdCollection*fFilesInBrowser
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TSystemDirectory()
 Create a system directory object.
TSystemDirectory(const char* dirname, const char* path)
 Create a system directory object.
TSystemDirectory(const TSystemDirectory& )
copy constructor
TSystemDirectory& operator=(const TSystemDirectory& )
assignment operator
~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 IsItDirectory(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.
Bool_t IsFolder() const
{ return kTRUE; }
Bool_t IsDirectory(const char* = 0) const
{ return kTRUE; }
void Edit()
{ }
void Delete()
{}
void Copy(const char* )
{}
void Move(const char* )
{}
void DrawClass() const
 dummy methods from TObject
{ }
TObject * DrawClone(Option_t* ) const
{ return 0; }
void SetDrawOption(Option_t* )
{ }
void SetName(const char* name)
{ TSystemFile::SetName(name); }
void SetTitle(const char* title)
{ TSystemFile::SetTitle(title); }
void Delete(Option_t* )
{ }
void Copy(TObject& ) const
{ }