#include <TNetDirectory.h>
Public Types | |
enum | { kCloseDirectory = BIT(7) } |
Public Member Functions | |
TNetDirectory (const char *name, TDirectory *motherDir=0) | |
TNetDirectory (TNetDirectoryConnection *conn, const char *dirname, const std::string &path, TDirectory *motherDir) | |
virtual | ~TNetDirectory () |
int | Reconnect () |
void | ResetTH1 (const char *name) |
virtual void | Append (TObject *obj) |
virtual void | Browse (TBrowser *b) |
virtual void | Clear (Option_t *option="") |
virtual void | Close (Option_t *option="") |
virtual Bool_t | cd (const char *path=0) |
virtual void | DeleteAll (Option_t *option="") |
virtual void | Delete (const char *namecycle="") |
virtual void | Draw (Option_t *option="") |
virtual void | FillBuffer (char *&buffer) |
virtual TKey * | FindKey (const char *keyname) const |
virtual TKey * | FindKeyAny (const char *keyname) const |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
virtual TObject * | FindObjectAny (const char *name) const |
virtual TObject * | Get (const char *namecycle) |
virtual TDirectory * | GetDirectory (const char *namecycle, Bool_t printError=false, const char *funcname="GetDirectory") |
virtual void * | GetObjectChecked (const char *namecycle, const char *classname) |
virtual void * | GetObjectChecked (const char *namecycle, const TClass *cl) |
virtual void * | GetObjectUnchecked (const char *namecycle) |
virtual Int_t | GetBufferSize () const |
virtual TFile * | GetFile () const |
virtual TKey * | GetKey (const char *name, Short_t cycle=9999) const |
virtual TList * | GetList () const |
virtual TList * | GetListOfKeys () const |
virtual Int_t | GetNbytesKeys () const |
virtual Int_t | GetNkeys () const |
virtual Long64_t | GetSeekDir () const |
virtual Long64_t | GetSeekParent () const |
virtual Long64_t | GetSeekKeys () const |
virtual const char * | GetPathStatic () const |
virtual const char * | GetPath () const |
virtual void | ls (Option_t *option="") const |
virtual TDirectory * | mkdir (const char *name, const char *title="") |
virtual void | Paint (Option_t *option="") |
virtual void | Print (Option_t *option="") const |
virtual void | Purge (Short_t nkeep=1) |
virtual void | pwd () const |
virtual void | ReadAll (Option_t *option="") |
virtual Int_t | ReadKeys () |
virtual void | RecursiveRemove (TObject *obj) |
virtual void | rmdir (const char *name) |
virtual void | Save () |
virtual void | SaveSelf (Bool_t force=kFALSE) |
virtual void | SetBufferSize (Int_t bufsize) |
virtual void | SetName (const char *newname) |
virtual Int_t | Sizeof () const |
virtual Int_t | Write (const char *name=0, Int_t opt=0, Int_t bufsiz=0) |
virtual Int_t | Write (const char *name=0, Int_t opt=0, Int_t bufsiz=0) const |
virtual Int_t | WriteTObject (const TObject *obj, const char *name=0, Option_t *option="") |
virtual Int_t | WriteObjectAny (const void *obj, const char *classname, const char *name, Option_t *option="") |
virtual Int_t | WriteObjectAny (const void *obj, const TClass *cl, const char *name, Option_t *option="") |
virtual void | WriteDirHeader () |
virtual void | WriteKeys () |
void | Add (TObject *obj) |
Int_t | AppendKey (TKey *key) |
void | Build (TFile *motherFile=0, TDirectory *motherDir=0) |
virtual void | Copy (TObject &) const |
template<class T > | |
void | GetObject (const char *namecycle, T *&ptr) |
const TDatime & | GetCreationDate () const |
const TDatime & | GetModificationDate () const |
TObject * | GetMother () const |
TDirectory * | GetMotherDir () const |
TUUID | GetUUID () const |
Bool_t | IsFolder () const |
Bool_t | IsModified () const |
Bool_t | IsWritable () const |
void | SetModified () |
void | SetMother (const TObject *mother) |
void | SetSeekDir (Long64_t v) |
void | SetWritable (Bool_t writable=kTRUE) |
template<class T > | |
Int_t | WriteObject (const T *obj, const char *name, Option_t *option="") |
Static Public Member Functions | |
static Bool_t | Cd (const char *path) |
static void | DecodeNameCycle (const char *namecycle, char *name, Short_t &cycle) |
static void | EncodeNameCycle (char *buffer, const char *name, Short_t cycle) |
Protected Member Functions | |
Bool_t | cd1 (const char *path) |
Buffer for GetPath() function. | |
void | FillFullPath (TString &buf) const |
Static Protected Member Functions | |
static Bool_t | Cd1 (const char *path) |
Protected Attributes | |
TNetDirectoryConnection * | fConn |
std::string | fPath |
pointer to network connection | |
std::deque< TNetDirectory * > | fSubDirs |
Bool_t | fModified |
Bool_t | fWritable |
TDatime | fDatimeC |
TDatime | fDatimeM |
Int_t | fNbytesKeys |
Int_t | fNbytesName |
Int_t | fBufferSize |
Long64_t | fSeekDir |
Long64_t | fSeekParent |
Long64_t | fSeekKeys |
TFile * | fFile |
TObject * | fMother |
TList * | fList |
TList * | fKeys |
TUUID | fUUID |
TString | fPathBuffer |
Private Member Functions | |
TNetDirectory (const TNetDirectory &directory) | |
void | operator= (const TNetDirectory &) |
TNetDirectory () |
Definition at line 33 of file TNetDirectory.h.
anonymous enum [inherited] |
Definition at line 74 of file TDirectory-example.h.
00074 { kCloseDirectory = BIT(7) };
TNetDirectory::TNetDirectory | ( | const TNetDirectory & | directory | ) | [private] |
TNetDirectory::TNetDirectory | ( | ) | [private] |
TNetDirectory::TNetDirectory | ( | const char * | name, | |
TDirectory * | motherDir = 0 | |||
) |
Definition at line 91 of file TNetDirectory.cxx.
References fConn, fPath, and gVerbose.
00092 : TDirectory(remoteServerName, remoteServerName, "", motherDir) 00093 { 00094 if (gVerbose) 00095 printf("TNetDirectory::ctor: %s\n", remoteServerName); 00096 int port = 9091; 00097 char hostname[256]; 00098 strcpy(hostname, remoteServerName); 00099 char* s = strchr(hostname, ':'); 00100 if (s) 00101 { 00102 *s = 0; 00103 port = atoi(s+1); 00104 } 00105 fConn = new TNetDirectoryConnection(hostname, port); 00106 fPath = ""; 00107 }
TNetDirectory::TNetDirectory | ( | TNetDirectoryConnection * | conn, | |
const char * | dirname, | |||
const std::string & | path, | |||
TDirectory * | motherDir | |||
) |
Definition at line 109 of file TNetDirectory.cxx.
References fConn, fPath, and gVerbose.
00110 : TDirectory(dirname, dirname, "", motherDir) 00111 { 00112 if (gVerbose) 00113 printf("TNetDirectory::ctor: conn %p, path [%s]\n", conn, path.c_str()); 00114 fConn = conn; 00115 fPath = path; 00116 }
TNetDirectory::~TNetDirectory | ( | ) | [virtual] |
void TDirectory::Add | ( | TObject * | obj | ) | [inline, inherited] |
Definition at line 114 of file TDirectory-example.h.
References TDirectory::Append().
00114 { Append(obj); }
void TNetDirectory::Append | ( | TObject * | obj | ) | [virtual] |
Reimplemented from TDirectory.
Definition at line 152 of file TNetDirectory.cxx.
Int_t TDirectory::AppendKey | ( | TKey * | key | ) | [inherited] |
void TNetDirectory::Browse | ( | TBrowser * | b | ) | [virtual] |
Reimplemented from TDirectory.
Definition at line 158 of file TNetDirectory.cxx.
void TDirectory::Build | ( | TFile * | motherFile = 0 , |
|
TDirectory * | motherDir = 0 | |||
) | [inherited] |
static Bool_t TDirectory::Cd | ( | const char * | path | ) | [static, inherited] |
Bool_t TNetDirectory::cd | ( | const char * | path = 0 |
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 161 of file TNetDirectory.cxx.
static Bool_t TDirectory::Cd1 | ( | const char * | path | ) | [static, protected, inherited] |
Bool_t TDirectory::cd1 | ( | const char * | path | ) | [protected, inherited] |
Buffer for GetPath() function.
void TNetDirectory::Clear | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 159 of file TNetDirectory.cxx.
void TNetDirectory::Close | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 160 of file TNetDirectory.cxx.
virtual void TDirectory::Copy | ( | TObject & | ) | const [inline, virtual, inherited] |
Definition at line 120 of file TDirectory-example.h.
static void TDirectory::DecodeNameCycle | ( | const char * | namecycle, | |
char * | name, | |||
Short_t & | cycle | |||
) | [static, inherited] |
void TNetDirectory::Delete | ( | const char * | namecycle = "" |
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 163 of file TNetDirectory.cxx.
void TNetDirectory::DeleteAll | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 162 of file TNetDirectory.cxx.
void TNetDirectory::Draw | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 164 of file TNetDirectory.cxx.
static void TDirectory::EncodeNameCycle | ( | char * | buffer, | |
const char * | name, | |||
Short_t | cycle | |||
) | [static, inherited] |
void TNetDirectory::FillBuffer | ( | char *& | buffer | ) | [virtual] |
Reimplemented from TDirectory.
Definition at line 165 of file TNetDirectory.cxx.
void TDirectory::FillFullPath | ( | TString & | buf | ) | const [protected, inherited] |
TKey * TNetDirectory::FindKey | ( | const char * | keyname | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 166 of file TNetDirectory.cxx.
TKey * TNetDirectory::FindKeyAny | ( | const char * | keyname | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 167 of file TNetDirectory.cxx.
TObject * TNetDirectory::FindObject | ( | const TObject * | obj | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 207 of file TNetDirectory.cxx.
TObject * TNetDirectory::FindObject | ( | const char * | name | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 169 of file TNetDirectory.cxx.
References fConn, fPath, fSubDirs, gVerbose, TNetDirectoryConnection::ReadObject(), and TNetDirectoryConnection::Request().
00170 { 00171 if (gVerbose) 00172 printf("TNetDirectory(%s)::FindObject(%s)\n", fPath.c_str(), name); 00173 00174 for (unsigned int i=0; i<fSubDirs.size(); i++) 00175 { 00176 TNetDirectory *s = fSubDirs[i]; 00177 if (strcmp(name, s->GetName()) == 0) 00178 { 00179 //printf("Return subdirectory %p [%s]\n", s, s->GetName()); 00180 return s; 00181 } 00182 } 00183 00184 std::string req = "FindObjectByName "; 00185 if (fPath.length() > 0) 00186 { 00187 req += fPath; 00188 req += "/"; 00189 } 00190 req += name; 00191 00192 fConn->Request(req.c_str()); 00193 TObject *obj = fConn->ReadObject(TObject::Class()); 00194 00195 if (obj && strcmp(obj->IsA()->GetName(), "TObjString") == 0) 00196 { 00197 const char* s = ((TObjString*)obj)->GetName(); 00198 if (strncmp(s, "TDirectory ", 11) == 0) 00199 { 00200 return NULL; 00201 } 00202 } 00203 00204 return obj; 00205 }
TObject * TNetDirectory::FindObjectAny | ( | const char * | name | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 212 of file TNetDirectory.cxx.
TObject * TNetDirectory::Get | ( | const char * | namecycle | ) | [virtual] |
Reimplemented from TDirectory.
Definition at line 214 of file TNetDirectory.cxx.
References fConn, fPath, fSubDirs, gVerbose, TNetDirectoryConnection::ReadObject(), TNetDirectoryConnection::Request(), and TNetDirectory().
00215 { 00216 if (gVerbose) 00217 printf("TNetDirectory(%s)::Get(%s)\n", fPath.c_str(), namecycle); 00218 00219 std::string req = "FindObjectByName "; // "Get "; 00220 if (fPath.length() > 0) 00221 { 00222 req += fPath; 00223 req += "/"; 00224 } 00225 req += namecycle; 00226 00227 fConn->Request(req.c_str()); 00228 TObject *obj = fConn->ReadObject(TObject::Class()); 00229 00230 if (obj && strcmp(obj->IsA()->GetName(), "TObjString") == 0) 00231 { 00232 const char* s = ((TObjString*)obj)->GetName(); 00233 if (strncmp(s, "TDirectory ", 11) == 0) 00234 { 00235 const char* dirname = s+11; 00236 if (gVerbose) 00237 printf("Got TDirectory %s\n", dirname); 00238 TNetDirectory *s = new TNetDirectory(fConn, dirname, fPath + "/" + dirname, this); 00239 fSubDirs.push_back(s); 00240 return s; 00241 } 00242 } 00243 00244 return obj; 00245 }
Int_t TNetDirectory::GetBufferSize | ( | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 251 of file TNetDirectory.cxx.
const TDatime& TDirectory::GetCreationDate | ( | ) | const [inline, inherited] |
Definition at line 141 of file TDirectory-example.h.
References TDirectory::fDatimeC.
00141 { return fDatimeC; }
TDirectory * TNetDirectory::GetDirectory | ( | const char * | namecycle, | |
Bool_t | printError = false , |
|||
const char * | funcname = "GetDirectory" | |||
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 247 of file TNetDirectory.cxx.
TFile * TNetDirectory::GetFile | ( | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 252 of file TNetDirectory.cxx.
TKey * TNetDirectory::GetKey | ( | const char * | name, | |
Short_t | cycle = 9999 | |||
) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 253 of file TNetDirectory.cxx.
TList * TNetDirectory::GetList | ( | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 254 of file TNetDirectory.cxx.
TList * TNetDirectory::GetListOfKeys | ( | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 256 of file TNetDirectory.cxx.
References fConn, fPath, gVerbose, TNetDirectoryConnection::ReadObject(), and TNetDirectoryConnection::Request().
00257 { 00258 if (gVerbose) 00259 printf("TNetDirectory(%s)::GetListOfKeys()\n", fPath.c_str()); 00260 00261 std::string req = "GetListOfKeys"; 00262 if (fPath.length() > 0) 00263 { 00264 req += " "; 00265 req += fPath; 00266 } 00267 00268 fConn->Request(req.c_str()); 00269 TList *keys = (TList*)fConn->ReadObject(TList::Class()); 00270 if (keys == NULL) 00271 // return fKeys; 00272 return NULL; 00273 //keys->Print(); 00274 //keys->ls(); 00275 return keys; 00276 }
const TDatime& TDirectory::GetModificationDate | ( | ) | const [inline, inherited] |
Definition at line 146 of file TDirectory-example.h.
References TDirectory::fDatimeM.
00146 { return fDatimeM; }
TObject* TDirectory::GetMother | ( | ) | const [inline, inherited] |
Definition at line 147 of file TDirectory-example.h.
References TDirectory::fMother.
00147 { return fMother; }
TDirectory* TDirectory::GetMotherDir | ( | ) | const [inline, inherited] |
Definition at line 148 of file TDirectory-example.h.
References TDirectory::fMother.
00148 { return fMother==0 ? 0 : dynamic_cast<TDirectory*>(fMother); }
Int_t TNetDirectory::GetNbytesKeys | ( | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 278 of file TNetDirectory.cxx.
Int_t TNetDirectory::GetNkeys | ( | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 279 of file TNetDirectory.cxx.
void TDirectory::GetObject | ( | const char * | namecycle, | |
T *& | ptr | |||
) | [inline, inherited] |
Definition at line 133 of file TDirectory-example.h.
References TDirectory::GetObjectChecked().
00134 { 00135 ptr = (T*)GetObjectChecked(namecycle,TBuffer::GetClass(typeid(T))); 00136 }
void * TNetDirectory::GetObjectChecked | ( | const char * | namecycle, | |
const TClass * | cl | |||
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 249 of file TNetDirectory.cxx.
void * TNetDirectory::GetObjectChecked | ( | const char * | namecycle, | |
const char * | classname | |||
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 248 of file TNetDirectory.cxx.
void * TNetDirectory::GetObjectUnchecked | ( | const char * | namecycle | ) | [virtual] |
Reimplemented from TDirectory.
Definition at line 250 of file TNetDirectory.cxx.
const char * TNetDirectory::GetPath | ( | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 284 of file TNetDirectory.cxx.
const char * TNetDirectory::GetPathStatic | ( | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 283 of file TNetDirectory.cxx.
Long64_t TNetDirectory::GetSeekDir | ( | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 280 of file TNetDirectory.cxx.
Long64_t TNetDirectory::GetSeekKeys | ( | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 282 of file TNetDirectory.cxx.
Long64_t TNetDirectory::GetSeekParent | ( | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 281 of file TNetDirectory.cxx.
TUUID TDirectory::GetUUID | ( | ) | const [inline, inherited] |
Definition at line 156 of file TDirectory-example.h.
References TDirectory::fUUID.
00156 {return fUUID;}
Bool_t TDirectory::IsFolder | ( | ) | const [inline, inherited] |
Definition at line 157 of file TDirectory-example.h.
Bool_t TDirectory::IsModified | ( | ) | const [inline, inherited] |
Definition at line 158 of file TDirectory-example.h.
References TDirectory::fModified.
00158 { return fModified; }
Bool_t TDirectory::IsWritable | ( | ) | const [inline, inherited] |
Definition at line 159 of file TDirectory-example.h.
References TDirectory::fWritable.
00159 { return fWritable; }
void TNetDirectory::ls | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 285 of file TNetDirectory.cxx.
TDirectory * TNetDirectory::mkdir | ( | const char * | name, | |
const char * | title = "" | |||
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 286 of file TNetDirectory.cxx.
void TNetDirectory::operator= | ( | const TNetDirectory & | ) | [private] |
Reimplemented from TDirectory.
void TNetDirectory::Paint | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 287 of file TNetDirectory.cxx.
void TNetDirectory::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 289 of file TNetDirectory.cxx.
00290 { 00291 TDirectory::Print(option); 00292 }
void TNetDirectory::Purge | ( | Short_t | nkeep = 1 |
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 294 of file TNetDirectory.cxx.
void TNetDirectory::pwd | ( | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 295 of file TNetDirectory.cxx.
void TNetDirectory::ReadAll | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 296 of file TNetDirectory.cxx.
Int_t TNetDirectory::ReadKeys | ( | ) | [virtual] |
Reimplemented from TDirectory.
Definition at line 297 of file TNetDirectory.cxx.
int TNetDirectory::Reconnect | ( | ) |
Definition at line 125 of file TNetDirectory.cxx.
References fConn, and TNetDirectoryConnection::Reconnect().
void TNetDirectory::RecursiveRemove | ( | TObject * | obj | ) | [virtual] |
Reimplemented from TDirectory.
Definition at line 298 of file TNetDirectory.cxx.
void TNetDirectory::ResetTH1 | ( | const char * | name | ) |
Definition at line 130 of file TNetDirectory.cxx.
References fConn, fPath, gVerbose, TNetDirectoryConnection::ReadObject(), and TNetDirectoryConnection::Request().
00131 { 00132 if (gVerbose) 00133 printf("TNetDirectory(%s)::ResetTH1(%s)\n", fPath.c_str(), name); 00134 00135 std::string req = "ResetTH1 "; 00136 if (fPath.length() > 0) 00137 { 00138 req += fPath; 00139 req += "/"; 00140 } 00141 00142 if (name && strlen(name)>0) 00143 { 00144 req += name; 00145 } 00146 00147 fConn->Request(req.c_str()); 00148 TObject *obj = fConn->ReadObject(TObject::Class()); 00149 delete obj; 00150 }
void TNetDirectory::rmdir | ( | const char * | name | ) | [virtual] |
Reimplemented from TDirectory.
Definition at line 299 of file TNetDirectory.cxx.
void TNetDirectory::Save | ( | ) | [virtual] |
Reimplemented from TDirectory.
Definition at line 300 of file TNetDirectory.cxx.
void TNetDirectory::SaveSelf | ( | Bool_t | force = kFALSE |
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 301 of file TNetDirectory.cxx.
void TNetDirectory::SetBufferSize | ( | Int_t | bufsize | ) | [virtual] |
Reimplemented from TDirectory.
Definition at line 302 of file TNetDirectory.cxx.
void TDirectory::SetModified | ( | ) | [inline, inherited] |
Definition at line 173 of file TDirectory-example.h.
References TDirectory::fModified.
00173 {fModified = kTRUE;}
void TDirectory::SetMother | ( | const TObject * | mother | ) | [inline, inherited] |
Definition at line 174 of file TDirectory-example.h.
References TDirectory::fMother.
00174 {fMother = (TObject*)mother;}
void TNetDirectory::SetName | ( | const char * | newname | ) | [virtual] |
Reimplemented from TDirectory.
Definition at line 303 of file TNetDirectory.cxx.
void TDirectory::SetSeekDir | ( | Long64_t | v | ) | [inline, inherited] |
Definition at line 176 of file TDirectory-example.h.
References TDirectory::fSeekDir.
00176 { fSeekDir = v; }
void TDirectory::SetWritable | ( | Bool_t | writable = kTRUE |
) | [inherited] |
Int_t TNetDirectory::Sizeof | ( | ) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 304 of file TNetDirectory.cxx.
Int_t TNetDirectory::Write | ( | const char * | name = 0 , |
|
Int_t | opt = 0 , |
|||
Int_t | bufsiz = 0 | |||
) | const [virtual] |
Reimplemented from TDirectory.
Definition at line 306 of file TNetDirectory.cxx.
Int_t TNetDirectory::Write | ( | const char * | name = 0 , |
|
Int_t | opt = 0 , |
|||
Int_t | bufsiz = 0 | |||
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 305 of file TNetDirectory.cxx.
void TNetDirectory::WriteDirHeader | ( | ) | [virtual] |
Reimplemented from TDirectory.
Definition at line 310 of file TNetDirectory.cxx.
void TNetDirectory::WriteKeys | ( | ) | [virtual] |
Reimplemented from TDirectory.
Definition at line 311 of file TNetDirectory.cxx.
Int_t TDirectory::WriteObject | ( | const T * | obj, | |
const char * | name, | |||
Option_t * | option = "" | |||
) | [inline, inherited] |
Definition at line 182 of file TDirectory-example.h.
References TDirectory::WriteObjectAny().
00183 { 00184 return WriteObjectAny(obj,TBuffer::GetClass(typeid(T)),name,option); 00185 }
Int_t TNetDirectory::WriteObjectAny | ( | const void * | obj, | |
const TClass * | cl, | |||
const char * | name, | |||
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 309 of file TNetDirectory.cxx.
Int_t TNetDirectory::WriteObjectAny | ( | const void * | obj, | |
const char * | classname, | |||
const char * | name, | |||
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 308 of file TNetDirectory.cxx.
Int_t TNetDirectory::WriteTObject | ( | const TObject * | obj, | |
const char * | name = 0 , |
|||
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TDirectory.
Definition at line 307 of file TNetDirectory.cxx.
Int_t TDirectory::fBufferSize [protected, inherited] |
Definition at line 52 of file TDirectory-example.h.
TNetDirectoryConnection* TNetDirectory::fConn [protected] |
Definition at line 36 of file TNetDirectory.h.
Referenced by FindObject(), Get(), GetListOfKeys(), Reconnect(), ResetTH1(), TNetDirectory(), and ~TNetDirectory().
TDatime TDirectory::fDatimeC [protected, inherited] |
Definition at line 48 of file TDirectory-example.h.
Referenced by TDirectory::GetCreationDate().
TDatime TDirectory::fDatimeM [protected, inherited] |
Definition at line 49 of file TDirectory-example.h.
Referenced by TDirectory::GetModificationDate().
TFile* TDirectory::fFile [protected, inherited] |
Definition at line 56 of file TDirectory-example.h.
Referenced by TDirectory::GetFile().
TList* TDirectory::fKeys [protected, inherited] |
Definition at line 59 of file TDirectory-example.h.
Referenced by TDirectory::GetListOfKeys(), and TDirectory::GetNkeys().
TList* TDirectory::fList [protected, inherited] |
Definition at line 58 of file TDirectory-example.h.
Referenced by TDirectory::GetList().
Bool_t TDirectory::fModified [protected, inherited] |
Definition at line 46 of file TDirectory-example.h.
Referenced by TDirectory::IsModified(), and TDirectory::SetModified().
TObject* TDirectory::fMother [protected, inherited] |
Definition at line 57 of file TDirectory-example.h.
Referenced by TDirectory::GetMother(), TDirectory::GetMotherDir(), and TDirectory::SetMother().
Int_t TDirectory::fNbytesKeys [protected, inherited] |
Definition at line 50 of file TDirectory-example.h.
Referenced by TDirectory::GetNbytesKeys().
Int_t TDirectory::fNbytesName [protected, inherited] |
Definition at line 51 of file TDirectory-example.h.
std::string TNetDirectory::fPath [protected] |
pointer to network connection
Definition at line 37 of file TNetDirectory.h.
Referenced by Append(), FindObject(), Get(), GetListOfKeys(), ResetTH1(), and TNetDirectory().
TString TDirectory::fPathBuffer [protected, inherited] |
Definition at line 61 of file TDirectory-example.h.
Long64_t TDirectory::fSeekDir [protected, inherited] |
Definition at line 53 of file TDirectory-example.h.
Referenced by TDirectory::GetSeekDir(), and TDirectory::SetSeekDir().
Long64_t TDirectory::fSeekKeys [protected, inherited] |
Definition at line 55 of file TDirectory-example.h.
Referenced by TDirectory::GetSeekKeys().
Long64_t TDirectory::fSeekParent [protected, inherited] |
Definition at line 54 of file TDirectory-example.h.
Referenced by TDirectory::GetSeekParent().
std::deque<TNetDirectory*> TNetDirectory::fSubDirs [protected] |
Definition at line 38 of file TNetDirectory.h.
Referenced by FindObject(), and Get().
TUUID TDirectory::fUUID [protected, inherited] |
Definition at line 60 of file TDirectory-example.h.
Referenced by TDirectory::GetUUID().
Bool_t TDirectory::fWritable [protected, inherited] |
Definition at line 47 of file TDirectory-example.h.
Referenced by TDirectory::IsWritable().