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)
virtual voidTSystemFile::Browse(TBrowser* b)
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
static TClass*TSystemFile::Class()
static TClass*TNamed::Class()
static TClass*TObject::Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidCopy(const char*)
virtual voidCopy(TObject&) const
virtual voidTSystemFile::Copy(const char* to)MENU
virtual voidTSystemFile::Copy(TObject&) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Copy(TObject& object) 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 voidTSystemFile::DrawClass() const
virtual voidTObject::DrawClass() constMENU
virtual TObject*DrawClone(Option_t*) const
virtual TObject*TSystemFile::DrawClone(Option_t*) const
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTSystemFile::Dump() const
virtual voidTObject::Dump() constMENU
virtual voidEdit()
virtual voidTSystemFile::Edit()MENU
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 const char*TObject::GetIconName() const
virtual TList*GetListOfFiles() const
virtual const char*TNamed::GetName() const
virtual const char*TObject::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 const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual ULong_tTObject::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
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual TClass*TSystemFile::IsA() const
virtual TClass*TNamed::IsA() const
virtual TClass*TObject::IsA() const
virtual Bool_tIsDirectory(const char* = 0) const
virtual Bool_tTSystemFile::IsDirectory(const char* dir = 0) const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tIsFolder() const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidMove(const char*)
virtual voidTSystemFile::Move(const char* to)MENU
virtual Bool_tTObject::Notify()
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)
TSystemFile&TSystemFile::operator=(const TSystemFile&)
TNamed&TNamed::operator=(const TNamed& rhs)
TObject&TObject::operator=(const TObject& rhs)
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(basic_ostream<char,char_traits<char> >& 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*)
virtual voidTSystemFile::SetDrawOption(Option_t*)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTSystemFile::SetIconName(const char* name)
virtual voidSetName(const char* name)
virtual voidTSystemFile::SetName(const char* name)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetTitle(const char* title)
virtual voidTSystemFile::SetTitle(const char* title)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidTSystemFile::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTNamed::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
virtual voidTSystemFile::Streamer(TBuffer& b)
virtual voidTNamed::Streamer(TBuffer& b)
virtual voidTObject::Streamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTSystemFile::StreamerNVirtual(TBuffer& b)
voidTNamed::StreamerNVirtual(TBuffer& b)
voidTObject::StreamerNVirtual(TBuffer& 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 & )
{ }