GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
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 ()
 
void Initialize (TGo4Slot *slot) override
 
void Finalize (TGo4Slot *slot) override
 
Bool_t HasSublevels () const override
 
TGo4LevelIterMakeIter () override
 
std::unique_ptr< TGo4AccessProvideAccess (const char *name) override
 
void WriteData (TGo4Slot *slot, TDirectory *dir, Bool_t onlyobjs) override
 
void ReadData (TGo4Slot *slot, TDirectory *dir) override
 
Int_t GetObjectKind () const override
 
const char * GetContainedClassName () const override
 
const char * GetContainedObjectInfo () override
 
Int_t GetObjectSizeInfo () const override
 
Bool_t UpdateObjectInFile (const char *filepath, TObject *obj)
 
Bool_t IsFile () const
 
const char * GetFileName () const
 
 ClassDefOverride (TGo4DirProxy, 1)
 
- Public Member Functions inherited from TGo4Proxy
 TGo4Proxy ()
 
virtual ~TGo4Proxy ()
 
virtual Bool_t RemoveRegisteredObject (TObject *)
 
virtual Bool_t Use () const
 
virtual Bool_t IsAcceptObject (TClass *) const
 
virtual Bool_t AssignObject (TGo4Slot *, TObject *, Bool_t)
 
virtual TObject * GetAssignedObject ()
 
virtual void Update (TGo4Slot *, Bool_t)
 
virtual Bool_t ProcessEvent (TGo4Slot *slot, TGo4Slot *source, Int_t id, void *param)
 
 ClassDefOverride (TGo4Proxy, 1)
 

Static Public Member Functions

static std::unique_ptr< TGo4AccessCreateAccess (TDirectory *dir, Bool_t readright, const char *name, TGo4Slot *browser_slot=nullptr)
 
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 {nullptr}
 
Bool_t fOwner {kFALSE}
 
Bool_t fReadRight {kFALSE}
 
TGo4SlotfxParentSlot {nullptr}
 

Detailed Description

Definition at line 22 of file TGo4DirProxy.h.

Constructor & Destructor Documentation

◆ TGo4DirProxy() [1/2]

TGo4DirProxy::TGo4DirProxy ( )

Definition at line 223 of file TGo4DirProxy.cxx.

◆ TGo4DirProxy() [2/2]

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

Definition at line 228 of file TGo4DirProxy.cxx.

References SetDir().

◆ ~TGo4DirProxy()

TGo4DirProxy::~TGo4DirProxy ( )
virtual

Definition at line 234 of file TGo4DirProxy.cxx.

References ClearDir().

Member Function Documentation

◆ ClassDefOverride()

TGo4DirProxy::ClassDefOverride ( TGo4DirProxy  ,
 
)

Referenced by ProvideAccess().

◆ ClearDir()

void TGo4DirProxy::ClearDir ( )
protected

Definition at line 247 of file TGo4DirProxy.cxx.

References fDir, and fOwner.

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

◆ CreateAccess()

std::unique_ptr< TGo4Access > TGo4DirProxy::CreateAccess ( TDirectory *  dir,
Bool_t  readright,
const char *  name,
TGo4Slot browser_slot = nullptr 
)
static

◆ Finalize()

void TGo4DirProxy::Finalize ( TGo4Slot slot)
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 38 of file TGo4DirProxy.h.

◆ GetContainedClassName()

const char * TGo4DirProxy::GetContainedClassName ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 259 of file TGo4DirProxy.cxx.

References fDir.

Referenced by ProvideAccess().

◆ GetContainedObjectInfo()

const char * TGo4DirProxy::GetContainedObjectInfo ( )
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 264 of file TGo4DirProxy.cxx.

References fDir.

Referenced by ProvideAccess().

◆ GetFileName()

const char * TGo4DirProxy::GetFileName ( ) const

Definition at line 405 of file TGo4DirProxy.cxx.

References fDir, and IsFile().

Referenced by TGo4Script::ProduceScript(), and ProvideAccess().

◆ GetObjectKind()

Int_t TGo4DirProxy::GetObjectKind ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 254 of file TGo4DirProxy.cxx.

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

Referenced by ProvideAccess().

◆ GetObjectSizeInfo()

Int_t TGo4DirProxy::GetObjectSizeInfo ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 269 of file TGo4DirProxy.cxx.

References fDir, and TGo4Proxy::GetObjectSizeInfo().

Referenced by ProvideAccess().

◆ HasSublevels()

Bool_t TGo4DirProxy::HasSublevels ( ) const
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 40 of file TGo4DirProxy.h.

References fDir.

◆ Initialize()

void TGo4DirProxy::Initialize ( TGo4Slot slot)
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 37 of file TGo4DirProxy.h.

References fxParentSlot.

◆ IsFile()

Bool_t TGo4DirProxy::IsFile ( ) const

◆ MakeIter()

TGo4LevelIter* TGo4DirProxy::MakeIter ( )
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 42 of file TGo4DirProxy.h.

References fDir, fReadRight, and ProduceIter().

◆ ProduceIter()

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

Definition at line 337 of file TGo4DirProxy.cxx.

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

◆ ProvideAccess()

std::unique_ptr<TGo4Access> TGo4DirProxy::ProvideAccess ( const char *  name)
inlineoverridevirtual

◆ ReadData()

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

Reimplemented from TGo4Proxy.

Definition at line 354 of file TGo4DirProxy.cxx.

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

Referenced by ProvideAccess().

◆ SetDir()

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

Definition at line 239 of file TGo4DirProxy.cxx.

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

Referenced by ReadData(), and TGo4DirProxy().

◆ UpdateObjectInFile()

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

Definition at line 368 of file TGo4DirProxy.cxx.

References fDir, and TGo4Slot::ProduceFolderAndName().

Referenced by ProvideAccess(), and TGo4BrowserProxy::UpdateObjectInFile().

◆ WriteData()

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

Reimplemented from TGo4Proxy.

Definition at line 342 of file TGo4DirProxy.cxx.

References fDir, and TGo4Slot::SetPar().

Referenced by ProvideAccess().

Member Data Documentation

◆ fDir

TDirectory* TGo4DirProxy::fDir {nullptr}
protected

◆ fOwner

Bool_t TGo4DirProxy::fOwner {kFALSE}
protected

Definition at line 25 of file TGo4DirProxy.h.

Referenced by ClearDir(), and SetDir().

◆ fReadRight

Bool_t TGo4DirProxy::fReadRight {kFALSE}
protected

Definition at line 26 of file TGo4DirProxy.h.

Referenced by MakeIter(), ProvideAccess(), and SetDir().

◆ fxParentSlot

TGo4Slot* TGo4DirProxy::fxParentSlot {nullptr}
protected

Definition at line 27 of file TGo4DirProxy.h.

Referenced by Initialize(), and ProvideAccess().


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