GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TGo4DirProxy Class Reference

#include <TGo4DirProxy.h>

+ Inheritance diagram for TGo4DirProxy:

Public Member Functions

 TGo4DirProxy ()
 
 TGo4DirProxy (TDirectory *dir, Bool_t readright, Bool_t owner)
 
virtual ~TGo4DirProxy ()
 
virtual void Initialize (TGo4Slot *slot)
 
virtual void Finalize (TGo4Slot *slot)
 
virtual Bool_t HasSublevels () const
 
virtual TGo4LevelIterMakeIter ()
 
virtual TGo4AccessProvideAccess (const char *name)
 
virtual void WriteData (TGo4Slot *slot, TDirectory *dir, Bool_t onlyobjs)
 
virtual void ReadData (TGo4Slot *slot, TDirectory *dir)
 
virtual Int_t GetObjectKind ()
 
virtual const char * GetContainedClassName ()
 
virtual const char * GetContainedObjectInfo ()
 
virtual Int_t GetObjectSizeInfo ()
 
Bool_t UpdateObjectInFile (const char *filepath, TObject *obj)
 
Bool_t IsFile () const
 
const char * GetFileName () const
 
 ClassDef (TGo4DirProxy, 1)
 
- Public Member Functions inherited from TGo4Proxy
 TGo4Proxy ()
 
virtual ~TGo4Proxy ()
 
virtual Bool_t RemoveRegisteredObject (TObject *obj)
 
virtual Bool_t Use () const
 
virtual Bool_t IsAcceptObject (TClass *cl)
 
virtual Bool_t AssignObject (TGo4Slot *slot, TObject *obj, Bool_t owner)
 
virtual TObject * GetAssignedObject ()
 
virtual void Update (TGo4Slot *slot, Bool_t strong)
 
virtual Bool_t ProcessEvent (TGo4Slot *slot, TGo4Slot *source, Int_t id, void *param)
 
 ClassDef (TGo4Proxy, 1)
 

Static Public Member Functions

static TGo4AccessCreateAccess (TDirectory *dir, Bool_t readright, const char *name, TGo4Slot *browser_slot=0)
 
static TGo4LevelIterProduceIter (TDirectory *dir, Bool_t readright)
 
- Static Public Member Functions inherited from TGo4Proxy
static TClass * GetClass (const char *classname, Bool_t load=kFALSE)
 

Protected Member Functions

void SetDir (TDirectory *dir, Bool_t readright, Bool_t owner)
 
void ClearDir ()
 

Protected Attributes

TDirectory * fDir
 
Bool_t fOwner
 
Bool_t fReadRight
 
TGo4SlotfxParentSlot
 

Detailed Description

Definition at line 22 of file TGo4DirProxy.h.

Constructor & Destructor Documentation

TGo4DirProxy::TGo4DirProxy ( )

Definition at line 222 of file TGo4DirProxy.cxx.

TGo4DirProxy::TGo4DirProxy ( TDirectory *  dir,
Bool_t  readright,
Bool_t  owner 
)

Definition at line 231 of file TGo4DirProxy.cxx.

References SetDir().

TGo4DirProxy::~TGo4DirProxy ( )
virtual

Definition at line 241 of file TGo4DirProxy.cxx.

References ClearDir().

Member Function Documentation

TGo4DirProxy::ClassDef ( TGo4DirProxy  ,
 
)
void TGo4DirProxy::ClearDir ( )
protected

Definition at line 254 of file TGo4DirProxy.cxx.

References fDir, and fOwner.

Referenced by ReadData(), SetDir(), and ~TGo4DirProxy().

TGo4Access * TGo4DirProxy::CreateAccess ( TDirectory *  dir,
Bool_t  readright,
const char *  name,
TGo4Slot browser_slot = 0 
)
static
virtual void TGo4DirProxy::Finalize ( TGo4Slot slot)
inlinevirtual

Reimplemented from TGo4Proxy.

Definition at line 38 of file TGo4DirProxy.h.

const char * TGo4DirProxy::GetContainedClassName ( )
virtual

Reimplemented from TGo4Proxy.

Definition at line 266 of file TGo4DirProxy.cxx.

References fDir.

const char * TGo4DirProxy::GetContainedObjectInfo ( )
virtual

Reimplemented from TGo4Proxy.

Definition at line 271 of file TGo4DirProxy.cxx.

References fDir.

const char * TGo4DirProxy::GetFileName ( ) const

Definition at line 412 of file TGo4DirProxy.cxx.

References fDir, and IsFile().

Referenced by TGo4Script::ProduceScript().

Int_t TGo4DirProxy::GetObjectKind ( )
virtual

Reimplemented from TGo4Proxy.

Definition at line 261 of file TGo4DirProxy.cxx.

References fDir, TGo4Access::kndFolder, and TGo4Access::kndNone.

Int_t TGo4DirProxy::GetObjectSizeInfo ( )
virtual

Reimplemented from TGo4Proxy.

Definition at line 276 of file TGo4DirProxy.cxx.

References fDir, and TGo4Proxy::GetObjectSizeInfo().

virtual Bool_t TGo4DirProxy::HasSublevels ( ) const
inlinevirtual

Reimplemented from TGo4Proxy.

Definition at line 40 of file TGo4DirProxy.h.

virtual void TGo4DirProxy::Initialize ( TGo4Slot slot)
inlinevirtual

Reimplemented from TGo4Proxy.

Definition at line 37 of file TGo4DirProxy.h.

Bool_t TGo4DirProxy::IsFile ( ) const

Definition at line 407 of file TGo4DirProxy.cxx.

References fDir.

Referenced by TGo4ObjectManager::CloseFiles(), GetFileName(), and TGo4BrowserProxy::MakeFilesList().

virtual TGo4LevelIter* TGo4DirProxy::MakeIter ( )
inlinevirtual

Reimplemented from TGo4Proxy.

Definition at line 42 of file TGo4DirProxy.h.

References ProduceIter().

TGo4LevelIter * TGo4DirProxy::ProduceIter ( TDirectory *  dir,
Bool_t  readright 
)
static

Definition at line 342 of file TGo4DirProxy.cxx.

Referenced by MakeIter(), and TGo4FolderLevelIter::subiterator().

virtual TGo4Access* TGo4DirProxy::ProvideAccess ( const char *  name)
inlinevirtual

Reimplemented from TGo4Proxy.

Definition at line 45 of file TGo4DirProxy.h.

References CreateAccess().

void TGo4DirProxy::ReadData ( TGo4Slot slot,
TDirectory *  dir 
)
virtual

Reimplemented from TGo4Proxy.

Definition at line 359 of file TGo4DirProxy.cxx.

References ClearDir(), TGo4Slot::GetPar(), and SetDir().

void TGo4DirProxy::SetDir ( TDirectory *  dir,
Bool_t  readright,
Bool_t  owner 
)
protected

Definition at line 246 of file TGo4DirProxy.cxx.

References ClearDir(), fDir, fOwner, and fReadRight.

Referenced by ReadData(), and TGo4DirProxy().

Bool_t TGo4DirProxy::UpdateObjectInFile ( const char *  filepath,
TObject *  obj 
)

Definition at line 374 of file TGo4DirProxy.cxx.

References fDir, and TGo4Slot::ProduceFolderAndName().

Referenced by TGo4BrowserProxy::UpdateObjectInFile().

void TGo4DirProxy::WriteData ( TGo4Slot slot,
TDirectory *  dir,
Bool_t  onlyobjs 
)
virtual

Reimplemented from TGo4Proxy.

Definition at line 347 of file TGo4DirProxy.cxx.

References fDir, and TGo4Slot::SetPar().

Member Data Documentation

TDirectory* TGo4DirProxy::fDir
protected
Bool_t TGo4DirProxy::fOwner
protected

Definition at line 25 of file TGo4DirProxy.h.

Referenced by ClearDir(), and SetDir().

Bool_t TGo4DirProxy::fReadRight
protected

Definition at line 26 of file TGo4DirProxy.h.

Referenced by SetDir().

TGo4Slot* TGo4DirProxy::fxParentSlot
protected

Definition at line 27 of file TGo4DirProxy.h.


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