File indexing completed on 2025-01-18 10:12:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef ROOT_TRemoteObject
0012 #define ROOT_TRemoteObject
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030 #include "TSystem.h"
0031
0032 class TList;
0033
0034 class TRemoteObject : public TNamed {
0035
0036 protected:
0037 FileStat_t fFileStat;
0038 Bool_t fIsFolder;
0039 Long64_t fRemoteAddress;
0040 TString fClassName;
0041 TString fKeyObjectName;
0042 TString fKeyClassName;
0043
0044 public:
0045 TRemoteObject();
0046 TRemoteObject(const char *name, const char *title, const char *classname);
0047
0048 virtual ~TRemoteObject();
0049
0050 void Browse(TBrowser *b) override;
0051 Bool_t IsFolder() const override { return fIsFolder; }
0052 TList *Browse();
0053 Bool_t GetFileStat(FileStat_t *sbuf);
0054 const char *GetClassName() const { return fClassName.Data(); }
0055 const char *GetKeyObjectName() const { return fKeyObjectName.Data(); }
0056 const char *GetKeyClassName() const { return fKeyClassName.Data(); }
0057 void SetFolder(Bool_t isFolder) { fIsFolder = isFolder; }
0058 void SetKeyObjectName(const char *name) { fKeyObjectName = name; }
0059 void SetKeyClassName(const char *name) { fKeyClassName = name; }
0060 void SetRemoteAddress(Longptr_t addr) { fRemoteAddress = addr; }
0061
0062 ClassDefOverride(TRemoteObject,0)
0063 };
0064
0065 #endif
0066