GSI Object Oriented Online Offline (Go4) GO4-6.4.5
Loading...
Searching...
No Matches
TGo4DirProxy Class Reference

#include <TGo4DirProxy.h>

Inheritance diagram for TGo4DirProxy:

Public Member Functions

 TGo4DirProxy ()
 TGo4DirProxy ()
 TGo4DirProxy (TDirectory *dir, Bool_t readright, Bool_t owner)
 TGo4DirProxy (TDirectory *dir, Bool_t readright, Bool_t owner)
virtual ~TGo4DirProxy ()
virtual ~TGo4DirProxy ()
 ClassDefOverride (TGo4DirProxy, 0)
 ClassDefOverride (TGo4DirProxy, 0)
void Finalize (TGo4Slot *slot) override
void Finalize (TGo4Slot *slot) override
const char * GetContainedClassName () const override
const char * GetContainedClassName () const override
const char * GetContainedObjectInfo () override
const char * GetContainedObjectInfo () override
const char * GetFileName () const
const char * GetFileName () const
Int_t GetObjectKind () const override
Int_t GetObjectKind () const override
Int_t GetObjectSizeInfo () const override
Int_t GetObjectSizeInfo () const override
Bool_t HasSublevels () const override
Bool_t HasSublevels () const override
void Initialize (TGo4Slot *slot) override
void Initialize (TGo4Slot *slot) override
Bool_t IsFile () const
Bool_t IsFile () const
TGo4LevelIterMakeIter () override
TGo4LevelIterMakeIter () override
std::unique_ptr< TGo4AccessProvideAccess (const char *name) override
std::unique_ptr< TGo4AccessProvideAccess (const char *name) override
void ReadData (TGo4Slot *slot, TDirectory *dir) override
void ReadData (TGo4Slot *slot, TDirectory *dir) override
Bool_t UpdateObjectInFile (const char *filepath, TObject *obj)
Bool_t UpdateObjectInFile (const char *filepath, TObject *obj)
void WriteData (TGo4Slot *slot, TDirectory *dir, Bool_t onlyobjs) override
void WriteData (TGo4Slot *slot, TDirectory *dir, Bool_t onlyobjs) override
Public Member Functions inherited from TGo4Proxy
 TGo4Proxy ()
 TGo4Proxy ()
virtual ~TGo4Proxy ()
virtual ~TGo4Proxy ()
virtual Bool_t AssignObject (TGo4Slot *, TObject *, Bool_t)
virtual Bool_t AssignObject (TGo4Slot *, TObject *, Bool_t)
 ClassDefOverride (TGo4Proxy, 0)
 ClassDefOverride (TGo4Proxy, 0)
virtual TObject * GetAssignedObject ()
virtual TObject * GetAssignedObject ()
virtual Bool_t IsAcceptObject (TClass *) const
virtual Bool_t IsAcceptObject (TClass *) const
virtual Bool_t ProcessEvent (TGo4Slot *slot, TGo4Slot *source, Int_t id, void *param)
virtual Bool_t ProcessEvent (TGo4Slot *slot, TGo4Slot *source, Int_t id, void *param)
virtual Bool_t RemoveRegisteredObject (TObject *)
virtual Bool_t RemoveRegisteredObject (TObject *)
virtual void Update (TGo4Slot *, Bool_t)
virtual void Update (TGo4Slot *, Bool_t)
virtual Bool_t Use () const
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 std::unique_ptr< TGo4AccessCreateAccess (TDirectory *dir, Bool_t readright, const char *name, TGo4Slot *browser_slot=nullptr)
static TGo4LevelIterProduceIter (TDirectory *dir, Bool_t readright)
static TGo4LevelIterProduceIter (TDirectory *dir, Bool_t readright)
Static Public Member Functions inherited from TGo4Proxy
static TClass * GetClass (const char *classname, Bool_t load=kFALSE)
static TClass * GetClass (const char *classname, Bool_t load=kFALSE)

Protected Member Functions

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

TGo4DirProxy::TGo4DirProxy ( )

Definition at line 223 of file TGo4DirProxy.cxx.

References TGo4Proxy::TGo4Proxy().

Referenced by ClassDefOverride().

◆ TGo4DirProxy() [2/4]

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

Definition at line 228 of file TGo4DirProxy.cxx.

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

◆ ~TGo4DirProxy() [1/2]

TGo4DirProxy::~TGo4DirProxy ( )
virtual

Definition at line 234 of file TGo4DirProxy.cxx.

References ClearDir().

◆ TGo4DirProxy() [3/4]

TGo4DirProxy::TGo4DirProxy ( )

◆ TGo4DirProxy() [4/4]

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

◆ ~TGo4DirProxy() [2/2]

virtual TGo4DirProxy::~TGo4DirProxy ( )
virtual

Member Function Documentation

◆ ClassDefOverride() [1/2]

TGo4DirProxy::ClassDefOverride ( TGo4DirProxy ,
0  )

References TGo4DirProxy().

◆ ClassDefOverride() [2/2]

TGo4DirProxy::ClassDefOverride ( TGo4DirProxy ,
0  )

References TGo4DirProxy().

◆ ClearDir() [1/2]

void TGo4DirProxy::ClearDir ( )
protected

Definition at line 247 of file TGo4DirProxy.cxx.

References fDir, and fOwner.

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

◆ ClearDir() [2/2]

void TGo4DirProxy::ClearDir ( )
protected

◆ CreateAccess() [1/2]

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

◆ CreateAccess() [2/2]

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

◆ Finalize() [1/2]

void TGo4DirProxy::Finalize ( TGo4Slot * slot)
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 38 of file TGo4DirProxy.h.

◆ Finalize() [2/2]

void TGo4DirProxy::Finalize ( TGo4Slot * slot)
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 38 of file TGo4DirProxy.h.

◆ GetContainedClassName() [1/2]

const char * TGo4DirProxy::GetContainedClassName ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 259 of file TGo4DirProxy.cxx.

References fDir.

◆ GetContainedClassName() [2/2]

const char * TGo4DirProxy::GetContainedClassName ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

◆ GetContainedObjectInfo() [1/2]

const char * TGo4DirProxy::GetContainedObjectInfo ( )
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 264 of file TGo4DirProxy.cxx.

References fDir.

◆ GetContainedObjectInfo() [2/2]

const char * TGo4DirProxy::GetContainedObjectInfo ( )
overridevirtual

Reimplemented from TGo4Proxy.

◆ GetFileName() [1/2]

const char * TGo4DirProxy::GetFileName ( ) const

Definition at line 405 of file TGo4DirProxy.cxx.

References fDir, and IsFile().

Referenced by TGo4Script::ProduceScript().

◆ GetFileName() [2/2]

const char * TGo4DirProxy::GetFileName ( ) const

◆ GetObjectKind() [1/2]

Int_t TGo4DirProxy::GetObjectKind ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 254 of file TGo4DirProxy.cxx.

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

◆ GetObjectKind() [2/2]

Int_t TGo4DirProxy::GetObjectKind ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

◆ GetObjectSizeInfo() [1/2]

Int_t TGo4DirProxy::GetObjectSizeInfo ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 269 of file TGo4DirProxy.cxx.

References fDir, and TGo4Proxy::GetObjectSizeInfo().

◆ GetObjectSizeInfo() [2/2]

Int_t TGo4DirProxy::GetObjectSizeInfo ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

◆ HasSublevels() [1/2]

Bool_t TGo4DirProxy::HasSublevels ( ) const
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 40 of file TGo4DirProxy.h.

References fDir.

◆ HasSublevels() [2/2]

Bool_t TGo4DirProxy::HasSublevels ( ) const
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 40 of file TGo4DirProxy.h.

References fDir.

◆ Initialize() [1/2]

void TGo4DirProxy::Initialize ( TGo4Slot * slot)
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 37 of file TGo4DirProxy.h.

References fxParentSlot.

◆ Initialize() [2/2]

void TGo4DirProxy::Initialize ( TGo4Slot * slot)
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 37 of file TGo4DirProxy.h.

References fxParentSlot.

◆ IsFile() [1/2]

Bool_t TGo4DirProxy::IsFile ( ) const

Definition at line 400 of file TGo4DirProxy.cxx.

References fDir.

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

◆ IsFile() [2/2]

Bool_t TGo4DirProxy::IsFile ( ) const

◆ MakeIter() [1/2]

TGo4LevelIter * TGo4DirProxy::MakeIter ( )
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 42 of file TGo4DirProxy.h.

References fDir, fReadRight, and ProduceIter().

◆ MakeIter() [2/2]

TGo4LevelIter * TGo4DirProxy::MakeIter ( )
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 42 of file TGo4DirProxy.h.

References fDir, fReadRight, and ProduceIter().

◆ ProduceIter() [1/2]

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

Definition at line 337 of file TGo4DirProxy.cxx.

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

◆ ProduceIter() [2/2]

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

◆ ProvideAccess() [1/2]

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.

◆ ProvideAccess() [2/2]

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() [1/2]

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

◆ ReadData() [2/2]

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

Reimplemented from TGo4Proxy.

◆ SetDir() [1/2]

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

◆ SetDir() [2/2]

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

◆ UpdateObjectInFile() [1/2]

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

◆ UpdateObjectInFile() [2/2]

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

◆ WriteData() [1/2]

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

◆ WriteData() [2/2]

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

Reimplemented from TGo4Proxy.

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: