12#ifndef ROOT_TNetDirectory
13#define ROOT_TNetDirectory
24#ifndef ROOT_TDirectory
25#include "TDirectory.h"
58 virtual void Append(TObject *obj, Bool_t replace);
59 virtual void Browse(TBrowser *b);
60 virtual void Clear(Option_t *option=
"");
61 virtual void Close(Option_t *option=
"");
62 virtual Bool_t
cd(
const char *path = 0);
63 virtual void DeleteAll(Option_t *option=
"");
64 virtual void Delete(
const char *namecycle=
"");
65 virtual void Draw(Option_t *option=
"");
67 virtual TKey *
FindKey(
const char *keyname)
const;
68 virtual TKey *
FindKeyAny(
const char *keyname)
const;
69 virtual TObject *
FindObject(
const char *name)
const;
70 virtual TObject *
FindObject(
const TObject *obj)
const;
72 virtual TObject *
Get(
const char *namecycle);
73 virtual TDirectory *
GetDirectory(
const char *namecycle, Bool_t printError =
false,
const char *funcname =
"GetDirectory");
74 virtual void *
GetObjectChecked(
const char *namecycle,
const char* classname);
79 virtual TKey *
GetKey(
const char *name, Short_t cycle=9999)
const;
88 virtual const char *
GetPath()
const;
89 virtual void ls(Option_t *option=
"")
const;
90 virtual TDirectory *
mkdir(
const char *name,
const char *title, Bool_t returnExistingDirectory);
91 virtual void Paint(Option_t *option=
"");
92 virtual void Print(Option_t *option=
"")
const;
93 virtual void Purge(Short_t nkeep=1);
94 virtual void pwd()
const;
95 virtual void ReadAll(Option_t *option=
"");
98 virtual void rmdir(
const char *name);
100 virtual void SaveSelf(Bool_t force = kFALSE);
102 virtual void SetName(
const char* newname);
103 virtual Int_t
Sizeof()
const;
104 virtual Int_t
Write(
const char *name=0, Int_t opt=0, Int_t bufsiz=0);
105 virtual Int_t
Write(
const char *name=0, Int_t opt=0, Int_t bufsiz=0)
const ;
106 virtual Int_t
WriteTObject(
const TObject *obj,
const char *name, Option_t *option, Int_t bufsize);
107 virtual Int_t
WriteObjectAny(
const void *obj,
const char *classname,
const char *name, Option_t *option, Int_t bufsize);
108 virtual Int_t
WriteObjectAny(
const void *obj,
const TClass *cl,
const char *name, Option_t *option, Int_t bufsize);
virtual void DeleteAll(Option_t *option="")
virtual TKey * FindKeyAny(const char *keyname) const
virtual TDirectory * GetDirectory(const char *namecycle, Bool_t printError=false, const char *funcname="GetDirectory")
virtual void ReadAll(Option_t *option="")
virtual Int_t GetBufferSize() const
virtual void Print(Option_t *option="") const
virtual void Clear(Option_t *option="")
virtual void SetName(const char *newname)
virtual void Purge(Short_t nkeep=1)
virtual Long64_t GetSeekKeys() const
virtual TObject * Get(const char *namecycle)
virtual Int_t WriteTObject(const TObject *obj, const char *name, Option_t *option, Int_t bufsize)
virtual TObject * FindObject(const char *name) const
virtual Bool_t cd(const char *path=0)
virtual Int_t Sizeof() const
TNetDirectoryConnection * fConn
virtual const char * GetPathStatic() const
virtual TList * GetList() const
std::deque< TNetDirectory * > fSubDirs
virtual TKey * FindKey(const char *keyname) const
virtual void rmdir(const char *name)
virtual void Browse(TBrowser *b)
virtual Int_t GetNbytesKeys() const
virtual void Draw(Option_t *option="")
virtual void ls(Option_t *option="") const
virtual void SetBufferSize(Int_t bufsize)
void ResetTH1(const char *name)
virtual void RecursiveRemove(TObject *obj)
std::string fPath
pointer to network connection
virtual void SaveSelf(Bool_t force=kFALSE)
virtual void Append(TObject *obj, Bool_t replace)
virtual Int_t WriteObjectAny(const void *obj, const char *classname, const char *name, Option_t *option, Int_t bufsize)
virtual void WriteDirHeader()
virtual Long64_t GetSeekParent() const
virtual Int_t GetNkeys() const
virtual void Delete(const char *namecycle="")
virtual TList * GetListOfKeys() const
virtual const char * GetPath() const
virtual TObject * FindObjectAny(const char *name) const
virtual void Close(Option_t *option="")
virtual Int_t Write(const char *name=0, Int_t opt=0, Int_t bufsiz=0)
virtual Long64_t GetSeekDir() const
virtual TKey * GetKey(const char *name, Short_t cycle=9999) const
virtual void Paint(Option_t *option="")
void operator=(const TNetDirectory &)
virtual void * GetObjectUnchecked(const char *namecycle)
virtual TDirectory * mkdir(const char *name, const char *title, Bool_t returnExistingDirectory)
TNetDirectory(const TNetDirectory &directory)
virtual TFile * GetFile() const
virtual void * GetObjectChecked(const char *namecycle, const char *classname)
virtual void FillBuffer(char *&buffer)