library: libCore #include "TSystemFile.h"

# TSystemFile

class description - source file - inheritance tree (.pdf)

## class TSystemFile : public TNamed

| Inheritance Chart:

`TObject`

<-

`TNamed`

<-

`TSystemFile`

<-

`TSystemDirectory` |

        public:

                              TSystemFile()
                              TSystemFile(const char* filename, const char* dirname)
                              TSystemFile(const TSystemFile&)
                      virtual ~TSystemFile()
                 virtual void Browse(TBrowser* b)
               static TClass* Class()
                 virtual void Copy(const char* to)
                 virtual void Copy(TObject&) const
                 virtual void Delete()
                 virtual void Delete(Option_t*)
                 virtual void DrawClass() const
             virtual TObject* DrawClone(Option_t*) const
                 virtual void Dump() const
                 virtual void Edit()
          virtual const char* GetIconName() const
                 virtual void Inspect() const
              virtual TClass* IsA() const
               virtual Bool_t IsDirectory(const char* dir = "0") const
                 virtual void Move(const char* to)
                 TSystemFile& operator=(const TSystemFile&)
                 virtual void Rename(const char* name)
                 virtual void SetDrawOption(Option_t*)
                 virtual void SetIconName(const char* name)
                 virtual void SetName(const char*)
                 virtual void SetTitle(const char*)
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

          TString fIconName  icon name

## Class Description

     TSystemFile

     A TSystemFile describes an operating system file.
     The information is used by the browser (see TBrowser).

TSystemFile() : TNamed()

     TSystemFile default constructor

TSystemFile(const char *filename, const char *dirname) : TNamed(filename, dirname)

     TSystemFile normal constructor

~TSystemFile()

     Delete TSystemFile object.

Bool_t IsDirectory(const char *dir) const

     Check if object is a directory.

void Browse(TBrowser *b)

     Execute default action for this system file (action is specified
     in the $HOME/.root.mimes or $ROOTSYS/etc/root.mimes file.

void Edit()

     Invoke text editor on this file

void Copy(const char *to)

     copy this file

void Move(const char *to)

     move this file

void Delete()

     delete this file

void Rename(const char *name)

     rename this file

void Inspect() const

void Dump() const

### Inline Functions

                    void SetIconName(const char* name)
             const char* GetIconName() const
                    void DrawClass() const
                TObject* DrawClone(Option_t*) const
                    void SetDrawOption(Option_t*)
                    void SetName(const char*)
                    void SetTitle(const char*)
                    void Delete(Option_t*)
                    void Copy(TObject&) const
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
             TSystemFile TSystemFile(const TSystemFile&)
            TSystemFile& operator=(const TSystemFile&)

Author: Rene Brun 26/06/96
Last update: root/base:$Name: $:$Id: TSystemFile.cxx,v 1.7 2005/05/30 10:21:14 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *