Warning, file /include/root/TSystemFile.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TSystemFile
0013 #define ROOT_TSystemFile
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 #include "TNamed.h"
0026
0027 class TBrowser;
0028
0029 class TSystemFile : public TNamed {
0030 private:
0031 TString fIconName;
0032
0033 public:
0034 TSystemFile();
0035 TSystemFile(const char *filename, const char *dirname);
0036 virtual ~TSystemFile();
0037 virtual void Rename(const char *name);
0038 virtual void Delete();
0039 virtual void Copy(const char *to);
0040 virtual void Move(const char *to);
0041 virtual void Edit();
0042
0043 virtual Bool_t IsDirectory(const char *dir = nullptr) const;
0044 virtual void SetIconName(const char *name) { fIconName = name; }
0045 const char *GetIconName() const override { return fIconName.Data(); }
0046
0047 void Browse(TBrowser *b) override;
0048
0049
0050 void Inspect() const override;
0051 void Dump() const override;
0052
0053 void DrawClass() const override { }
0054 TObject *DrawClone(Option_t *) const override { return nullptr; }
0055 void SetDrawOption(Option_t *) override { }
0056 void SetName(const char *name) override { TNamed::SetName(name); }
0057 void SetTitle(const char *title) override { TNamed::SetTitle(title); }
0058 void Delete(Option_t *) override { }
0059 void Copy(TObject &) const override { }
0060
0061 ClassDefOverride(TSystemFile,0)
0062 };
0063
0064 #endif
0065