/usr/include/root/TRemoteObject.h is in libroot-core-dev 5.34.14-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | // @(#)root/base:$Id$
// Author: Bertrand Bellenot 19/06/2007
/*************************************************************************
* Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TObjectRemote
#define ROOT_TObjectRemote
//////////////////////////////////////////////////////////////////////////
// //
// TRemoteObject //
// //
// The TRemoteObject class provides protocol for browsing ROOT objects //
// from a remote ROOT session. //
// It contains information on the real remote object as: //
// - Object Properties (i.e. file stat if the object is a TSystemFile) //
// - Object Name //
// - Class Name //
// - TKey Object Name (if the remote object is a TKey) //
// - TKey Class Name (if the remote object is a TKey) //
// - Remote object address //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TSystemDirectory
#include "TSystemDirectory.h"
#endif
#ifndef ROOT_TList
#include "TList.h"
#endif
#ifndef ROOT_TSystem
#include "TSystem.h"
#endif
class TRemoteObject : public TNamed {
protected:
FileStat_t fFileStat; // file status
Bool_t fIsFolder; // is folder flag
Long64_t fRemoteAddress; // remote address
TString fClassName; // real object class name
TString fKeyObjectName; // key object name
TString fKeyClassName; // key object class name
public:
TRemoteObject();
TRemoteObject(const char *name, const char *title, const char *classname);
virtual ~TRemoteObject();
virtual void Browse(TBrowser *b);
Bool_t IsFolder() const { return fIsFolder; }
TList *Browse();
Bool_t GetFileStat(FileStat_t *sbuf);
const char *GetClassName() const { return fClassName.Data(); }
const char *GetKeyObjectName() const { return fKeyObjectName.Data(); }
const char *GetKeyClassName() const { return fKeyClassName.Data(); }
void SetFolder(Bool_t isFolder) { fIsFolder = isFolder; }
void SetKeyObjectName(const char *name) { fKeyObjectName = name; }
void SetKeyClassName(const char *name) { fKeyClassName = name; }
void SetRemoteAddress(Long_t addr) { fRemoteAddress = addr; }
ClassDef(TRemoteObject,0) //A remote object
};
#endif
|