ROOTANA
Public Member Functions | Protected Attributes | Private Member Functions
TNetDirectory Class Reference

#include <TNetDirectory.h>

Inheritance diagram for TNetDirectory:
Inheritance graph
[legend]
Collaboration diagram for TNetDirectory:
Collaboration graph
[legend]

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, Bool_t replace)
 
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 TDirectoryGetDirectory (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 TDirectorymkdir (const char *name, const char *title, Bool_t returnExistingDirectory)
 
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 (Bool_t)
 
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, Option_t *option, Int_t bufsize)
 
virtual Int_t WriteObjectAny (const void *obj, const char *classname, const char *name, Option_t *option, Int_t bufsize)
 
virtual Int_t WriteObjectAny (const void *obj, const TClass *cl, const char *name, Option_t *option, Int_t bufsize)
 
virtual void WriteDirHeader ()
 
virtual void WriteKeys ()
 
- Public Member Functions inherited from TDirectory
 TDirectory ()
 
 TDirectory (const char *name, const char *title, Option_t *option="", TDirectory *motherDir=0)
 
virtual ~TDirectory ()
 
virtual void Append (TObject *obj)
 
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
 
TDirectoryGetMotherDir () const
 
TUUID GetUUID () const
 
Bool_t IsFolder () const
 
Bool_t IsModified () const
 
Bool_t IsWritable () const
 
virtual TDirectorymkdir (const char *name, const char *title="")
 
virtual Int_t ReadKeys ()
 
void SetModified ()
 
void SetMother (const TObject *mother)
 
void SetSeekDir (Long64_t v)
 
void SetWritable (Bool_t writable=kTRUE)
 
virtual Int_t WriteTObject (const TObject *obj, const char *name=0, Option_t *option="")
 
template<class T >
Int_t WriteObject (const T *obj, const char *name, 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="")
 

Protected Attributes

TNetDirectoryConnectionfConn
 
std::string fPath
 pointer to network connection More...
 
std::deque< TNetDirectory * > fSubDirs
 
- Protected Attributes inherited from TDirectory
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 ()
 

Additional Inherited Members

- Public Types inherited from TDirectory
enum  { kCloseDirectory = BIT(7) }
 
- Static Public Member Functions inherited from TDirectory
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 inherited from TDirectory
Bool_t cd1 (const char *path)
 Buffer for GetPath() function. More...
 
void FillFullPath (TString &buf) const
 
- Static Protected Member Functions inherited from TDirectory
static Bool_t Cd1 (const char *path)
 

Detailed Description

Definition at line 33 of file TNetDirectory.h.

Constructor & Destructor Documentation

◆ TNetDirectory() [1/4]

TNetDirectory::TNetDirectory ( const TNetDirectory directory)
private

◆ TNetDirectory() [2/4]

TNetDirectory::TNetDirectory ( )
private
Here is the caller graph for this function:

◆ TNetDirectory() [3/4]

TNetDirectory::TNetDirectory ( const char *  name,
TDirectory motherDir = 0 
)

Definition at line 92 of file TNetDirectory.cxx.

◆ TNetDirectory() [4/4]

TNetDirectory::TNetDirectory ( TNetDirectoryConnection conn,
const char *  dirname,
const std::string &  path,
TDirectory motherDir 
)

Definition at line 110 of file TNetDirectory.cxx.

◆ ~TNetDirectory()

TNetDirectory::~TNetDirectory ( )
virtual

Definition at line 119 of file TNetDirectory.cxx.

Member Function Documentation

◆ Append()

void TNetDirectory::Append ( TObject *  obj,
Bool_t  replace 
)
virtual

Definition at line 153 of file TNetDirectory.cxx.

◆ Browse()

void TNetDirectory::Browse ( TBrowser *  b)
virtual

Reimplemented from TDirectory.

Definition at line 159 of file TNetDirectory.cxx.

◆ cd()

Bool_t TNetDirectory::cd ( const char *  path = 0)
virtual

Reimplemented from TDirectory.

Definition at line 162 of file TNetDirectory.cxx.

◆ Clear()

void TNetDirectory::Clear ( Option_t *  option = "")
virtual

Reimplemented from TDirectory.

Definition at line 160 of file TNetDirectory.cxx.

◆ Close()

void TNetDirectory::Close ( Option_t *  option = "")
virtual

Reimplemented from TDirectory.

Definition at line 161 of file TNetDirectory.cxx.

◆ Delete()

void TNetDirectory::Delete ( const char *  namecycle = "")
virtual

Reimplemented from TDirectory.

Definition at line 164 of file TNetDirectory.cxx.

◆ DeleteAll()

void TNetDirectory::DeleteAll ( Option_t *  option = "")
virtual

Reimplemented from TDirectory.

Definition at line 163 of file TNetDirectory.cxx.

◆ Draw()

void TNetDirectory::Draw ( Option_t *  option = "")
virtual

Reimplemented from TDirectory.

Definition at line 165 of file TNetDirectory.cxx.

◆ FillBuffer()

void TNetDirectory::FillBuffer ( char *&  buffer)
virtual

Reimplemented from TDirectory.

Definition at line 166 of file TNetDirectory.cxx.

◆ FindKey()

TKey * TNetDirectory::FindKey ( const char *  keyname) const
virtual

Reimplemented from TDirectory.

Definition at line 167 of file TNetDirectory.cxx.

◆ FindKeyAny()

TKey * TNetDirectory::FindKeyAny ( const char *  keyname) const
virtual

Reimplemented from TDirectory.

Definition at line 168 of file TNetDirectory.cxx.

◆ FindObject() [1/2]

TObject * TNetDirectory::FindObject ( const char *  name) const
virtual

Reimplemented from TDirectory.

Definition at line 170 of file TNetDirectory.cxx.

Here is the call graph for this function:

◆ FindObject() [2/2]

TObject * TNetDirectory::FindObject ( const TObject *  obj) const
virtual

Reimplemented from TDirectory.

Definition at line 208 of file TNetDirectory.cxx.

◆ FindObjectAny()

TObject * TNetDirectory::FindObjectAny ( const char *  name) const
virtual

Reimplemented from TDirectory.

Definition at line 213 of file TNetDirectory.cxx.

◆ Get()

TObject * TNetDirectory::Get ( const char *  namecycle)
virtual

Reimplemented from TDirectory.

Definition at line 215 of file TNetDirectory.cxx.

Here is the call graph for this function:

◆ GetBufferSize()

Int_t TNetDirectory::GetBufferSize ( ) const
virtual

Reimplemented from TDirectory.

Definition at line 252 of file TNetDirectory.cxx.

◆ GetDirectory()

TDirectory * TNetDirectory::GetDirectory ( const char *  namecycle,
Bool_t  printError = false,
const char *  funcname = "GetDirectory" 
)
virtual

Reimplemented from TDirectory.

Definition at line 248 of file TNetDirectory.cxx.

◆ GetFile()

TFile * TNetDirectory::GetFile ( ) const
virtual

Reimplemented from TDirectory.

Definition at line 253 of file TNetDirectory.cxx.

◆ GetKey()

TKey * TNetDirectory::GetKey ( const char *  name,
Short_t  cycle = 9999 
) const
virtual

Reimplemented from TDirectory.

Definition at line 254 of file TNetDirectory.cxx.

◆ GetList()

TList * TNetDirectory::GetList ( ) const
virtual

Reimplemented from TDirectory.

Definition at line 255 of file TNetDirectory.cxx.

◆ GetListOfKeys()

TList * TNetDirectory::GetListOfKeys ( ) const
virtual

Reimplemented from TDirectory.

Definition at line 257 of file TNetDirectory.cxx.

Here is the call graph for this function:

◆ GetNbytesKeys()

Int_t TNetDirectory::GetNbytesKeys ( ) const
virtual

Reimplemented from TDirectory.

Definition at line 279 of file TNetDirectory.cxx.

◆ GetNkeys()

Int_t TNetDirectory::GetNkeys ( ) const
virtual

Reimplemented from TDirectory.

Definition at line 280 of file TNetDirectory.cxx.

◆ GetObjectChecked() [1/2]

void * TNetDirectory::GetObjectChecked ( const char *  namecycle,
const char *  classname 
)
virtual

Reimplemented from TDirectory.

Definition at line 249 of file TNetDirectory.cxx.

◆ GetObjectChecked() [2/2]

void * TNetDirectory::GetObjectChecked ( const char *  namecycle,
const TClass *  cl 
)
virtual

Reimplemented from TDirectory.

Definition at line 250 of file TNetDirectory.cxx.

◆ GetObjectUnchecked()

void * TNetDirectory::GetObjectUnchecked ( const char *  namecycle)
virtual

Reimplemented from TDirectory.

Definition at line 251 of file TNetDirectory.cxx.

◆ GetPath()

const char * TNetDirectory::GetPath ( ) const
virtual

Reimplemented from TDirectory.

Definition at line 285 of file TNetDirectory.cxx.

◆ GetPathStatic()

const char * TNetDirectory::GetPathStatic ( ) const
virtual

Reimplemented from TDirectory.

Definition at line 284 of file TNetDirectory.cxx.

◆ GetSeekDir()

Long64_t TNetDirectory::GetSeekDir ( ) const
virtual

Reimplemented from TDirectory.

Definition at line 281 of file TNetDirectory.cxx.

◆ GetSeekKeys()

Long64_t TNetDirectory::GetSeekKeys ( ) const
virtual

Reimplemented from TDirectory.

Definition at line 283 of file TNetDirectory.cxx.

◆ GetSeekParent()

Long64_t TNetDirectory::GetSeekParent ( ) const
virtual

Reimplemented from TDirectory.

Definition at line 282 of file TNetDirectory.cxx.

◆ ls()

void TNetDirectory::ls ( Option_t *  option = "") const
virtual

Reimplemented from TDirectory.

Definition at line 286 of file TNetDirectory.cxx.

◆ mkdir()

TDirectory * TNetDirectory::mkdir ( const char *  name,
const char *  title,
Bool_t  returnExistingDirectory 
)
virtual

Definition at line 287 of file TNetDirectory.cxx.

◆ operator=()

void TNetDirectory::operator= ( const TNetDirectory )
private

◆ Paint()

void TNetDirectory::Paint ( Option_t *  option = "")
virtual

Reimplemented from TDirectory.

Definition at line 288 of file TNetDirectory.cxx.

◆ Print()

void TNetDirectory::Print ( Option_t *  option = "") const
virtual

Reimplemented from TDirectory.

Definition at line 290 of file TNetDirectory.cxx.

Here is the call graph for this function:

◆ Purge()

void TNetDirectory::Purge ( Short_t  nkeep = 1)
virtual

Reimplemented from TDirectory.

Definition at line 295 of file TNetDirectory.cxx.

◆ pwd()

void TNetDirectory::pwd ( ) const
virtual

Reimplemented from TDirectory.

Definition at line 296 of file TNetDirectory.cxx.

◆ ReadAll()

void TNetDirectory::ReadAll ( Option_t *  option = "")
virtual

Reimplemented from TDirectory.

Definition at line 297 of file TNetDirectory.cxx.

◆ ReadKeys()

Int_t TNetDirectory::ReadKeys ( Bool_t  )
virtual

Definition at line 298 of file TNetDirectory.cxx.

◆ Reconnect()

int TNetDirectory::Reconnect ( )

Definition at line 126 of file TNetDirectory.cxx.

Here is the call graph for this function:

◆ RecursiveRemove()

void TNetDirectory::RecursiveRemove ( TObject *  obj)
virtual

Reimplemented from TDirectory.

Definition at line 299 of file TNetDirectory.cxx.

◆ ResetTH1()

void TNetDirectory::ResetTH1 ( const char *  name)

Definition at line 131 of file TNetDirectory.cxx.

Here is the call graph for this function:

◆ rmdir()

void TNetDirectory::rmdir ( const char *  name)
virtual

Reimplemented from TDirectory.

Definition at line 300 of file TNetDirectory.cxx.

◆ Save()

void TNetDirectory::Save ( )
virtual

Reimplemented from TDirectory.

Definition at line 301 of file TNetDirectory.cxx.

◆ SaveSelf()

void TNetDirectory::SaveSelf ( Bool_t  force = kFALSE)
virtual

Reimplemented from TDirectory.

Definition at line 302 of file TNetDirectory.cxx.

◆ SetBufferSize()

void TNetDirectory::SetBufferSize ( Int_t  bufsize)
virtual

Reimplemented from TDirectory.

Definition at line 303 of file TNetDirectory.cxx.

◆ SetName()

void TNetDirectory::SetName ( const char *  newname)
virtual

Reimplemented from TDirectory.

Definition at line 304 of file TNetDirectory.cxx.

◆ Sizeof()

Int_t TNetDirectory::Sizeof ( ) const
virtual

Reimplemented from TDirectory.

Definition at line 305 of file TNetDirectory.cxx.

◆ Write() [1/2]

Int_t TNetDirectory::Write ( const char *  name = 0,
Int_t  opt = 0,
Int_t  bufsiz = 0 
)
virtual

Reimplemented from TDirectory.

Definition at line 306 of file TNetDirectory.cxx.

◆ Write() [2/2]

Int_t TNetDirectory::Write ( const char *  name = 0,
Int_t  opt = 0,
Int_t  bufsiz = 0 
) const
virtual

Reimplemented from TDirectory.

Definition at line 307 of file TNetDirectory.cxx.

◆ WriteDirHeader()

void TNetDirectory::WriteDirHeader ( )
virtual

Reimplemented from TDirectory.

Definition at line 311 of file TNetDirectory.cxx.

◆ WriteKeys()

void TNetDirectory::WriteKeys ( )
virtual

Reimplemented from TDirectory.

Definition at line 312 of file TNetDirectory.cxx.

◆ WriteObjectAny() [1/2]

Int_t TNetDirectory::WriteObjectAny ( const void *  obj,
const char *  classname,
const char *  name,
Option_t *  option,
Int_t  bufsize 
)
virtual

Definition at line 309 of file TNetDirectory.cxx.

◆ WriteObjectAny() [2/2]

Int_t TNetDirectory::WriteObjectAny ( const void *  obj,
const TClass *  cl,
const char *  name,
Option_t *  option,
Int_t  bufsize 
)
virtual

Definition at line 310 of file TNetDirectory.cxx.

◆ WriteTObject()

Int_t TNetDirectory::WriteTObject ( const TObject *  obj,
const char *  name,
Option_t *  option,
Int_t  bufsize 
)
virtual

Definition at line 308 of file TNetDirectory.cxx.

Field Documentation

◆ fConn

TNetDirectoryConnection* TNetDirectory::fConn
protected

Definition at line 36 of file TNetDirectory.h.

◆ fPath

std::string TNetDirectory::fPath
protected

pointer to network connection

Definition at line 37 of file TNetDirectory.h.

◆ fSubDirs

std::deque<TNetDirectory*> TNetDirectory::fSubDirs
protected

Definition at line 38 of file TNetDirectory.h.


The documentation for this class was generated from the following files: