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

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 ClearDir ()
 
void SetDir (TDirectory *dir, Bool_t readright, Bool_t owner)
 

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.

References TGo4Proxy::TGo4Proxy().

Referenced by ClassDefOverride().

◆ TGo4DirProxy() [2/2]

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

Definition at line 228 of file TGo4DirProxy.cxx.

References TGo4Proxy::TGo4Proxy(), and SetDir().

◆ ~TGo4DirProxy()

TGo4DirProxy::~TGo4DirProxy ( )
virtual

Definition at line 234 of file TGo4DirProxy.cxx.

References ClearDir().

Member Function Documentation

◆ ClassDefOverride()

TGo4DirProxy::ClassDefOverride ( TGo4DirProxy ,
0  )

References TGo4DirProxy().

◆ ClearDir()

void TGo4DirProxy::ClearDir ( )
protected

Definition at line 247 of file TGo4DirProxy.cxx.

References fDir, and fOwner.

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

◆ 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.

◆ GetContainedObjectInfo()

const char * TGo4DirProxy::GetContainedObjectInfo ( )
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 264 of file TGo4DirProxy.cxx.

References fDir.

◆ GetFileName()

const char * TGo4DirProxy::GetFileName ( ) const

Definition at line 405 of file TGo4DirProxy.cxx.

References fDir, and IsFile().

Referenced by TGo4Script::ProduceScript().

◆ 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.

◆ GetObjectSizeInfo()

Int_t TGo4DirProxy::GetObjectSizeInfo ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 269 of file TGo4DirProxy.cxx.

References fDir, and TGo4Proxy::GetObjectSizeInfo().

◆ 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

Definition at line 400 of file TGo4DirProxy.cxx.

References fDir.

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

◆ 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(), and TGo4FolderLevelIter::subiterator().

◆ ProvideAccess()

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

Reimplemented from TGo4Proxy.

Definition at line 45 of file TGo4DirProxy.h.

References CreateAccess(), fDir, fReadRight, and fxParentSlot.

◆ 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().

◆ 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 TGo4DirProxy(), and ReadData().

◆ 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 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().

Field Documentation

◆ fDir

◆ 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: