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

#include <TGo4FolderProxy.h>

+ Inheritance diagram for TGo4FolderProxy:

Public Member Functions

 TGo4FolderProxy ()
 
 TGo4FolderProxy (TFolder *f, Bool_t owner=kFALSE, const char *roofolder="")
 
virtual ~TGo4FolderProxy ()
 
const char * GetContainedClassName () const override
 
Int_t GetObjectKind () const override
 
Bool_t HasSublevels () const override
 
TGo4LevelIterMakeIter () override
 
std::unique_ptr< TGo4AccessProvideAccess (const char *name) override
 
void ReadData (TGo4Slot *slot, TDirectory *dir) override
 
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 void Finalize (TGo4Slot *)
 
virtual TObject * GetAssignedObject ()
 
virtual const char * GetContainedObjectInfo ()
 
virtual Int_t GetObjectSizeInfo () const
 
virtual void Initialize (TGo4Slot *)
 
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 (TFolder *folder, const char *name)
 
static TFolder * LocateROOTFolder (const char *rootfolder)
 
static TGo4LevelIterProduceIter (TFolder *folder)
 
- Static Public Member Functions inherited from TGo4Proxy
static TClass * GetClass (const char *classname, Bool_t load=kFALSE)
 

Protected Member Functions

 ClassDefOverride (TGo4FolderProxy, 0)
 

Protected Attributes

TFolder * fFolder {nullptr}
 
Bool_t fOwner {kFALSE}
 
TString fRootFolderName
 

Detailed Description

Definition at line 22 of file TGo4FolderProxy.h.

Constructor & Destructor Documentation

◆ TGo4FolderProxy() [1/2]

TGo4FolderProxy::TGo4FolderProxy ( )

Definition at line 98 of file TGo4FolderProxy.cxx.

References TGo4Proxy::TGo4Proxy().

Referenced by ClassDefOverride().

◆ TGo4FolderProxy() [2/2]

TGo4FolderProxy::TGo4FolderProxy ( TFolder * f,
Bool_t owner = kFALSE,
const char * roofolder = "" )

Definition at line 103 of file TGo4FolderProxy.cxx.

References TGo4Proxy::TGo4Proxy(), fFolder, fOwner, and fRootFolderName.

◆ ~TGo4FolderProxy()

TGo4FolderProxy::~TGo4FolderProxy ( )
virtual

Definition at line 111 of file TGo4FolderProxy.cxx.

References fFolder, and fOwner.

Member Function Documentation

◆ ClassDefOverride()

TGo4FolderProxy::ClassDefOverride ( TGo4FolderProxy ,
0  )
protected

References TGo4FolderProxy().

◆ CreateAccess()

std::unique_ptr< TGo4Access > TGo4FolderProxy::CreateAccess ( TFolder * folder,
const char * name )
static

◆ GetContainedClassName()

const char * TGo4FolderProxy::GetContainedClassName ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 121 of file TGo4FolderProxy.cxx.

References fFolder.

◆ GetObjectKind()

Int_t TGo4FolderProxy::GetObjectKind ( ) const
overridevirtual

Reimplemented from TGo4Proxy.

Definition at line 116 of file TGo4FolderProxy.cxx.

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

◆ HasSublevels()

Bool_t TGo4FolderProxy::HasSublevels ( ) const
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 28 of file TGo4FolderProxy.h.

References fFolder.

◆ LocateROOTFolder()

TFolder * TGo4FolderProxy::LocateROOTFolder ( const char * rootfolder)
static

Definition at line 144 of file TGo4FolderProxy.cxx.

Referenced by TGo4ObjectManager::AddROOTFolder(), and ReadData().

◆ MakeIter()

TGo4LevelIter * TGo4FolderProxy::MakeIter ( )
inlineoverridevirtual

Reimplemented from TGo4Proxy.

Definition at line 30 of file TGo4FolderProxy.h.

References fFolder, and ProduceIter().

◆ ProduceIter()

TGo4LevelIter * TGo4FolderProxy::ProduceIter ( TFolder * folder)
static

Definition at line 203 of file TGo4FolderProxy.cxx.

Referenced by MakeIter().

◆ ProvideAccess()

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

Reimplemented from TGo4Proxy.

Definition at line 33 of file TGo4FolderProxy.h.

References CreateAccess(), and fFolder.

◆ ReadData()

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

Reimplemented from TGo4Proxy.

Definition at line 134 of file TGo4FolderProxy.cxx.

References fFolder, fOwner, fRootFolderName, TGo4Slot::GetPar(), and LocateROOTFolder().

◆ WriteData()

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

Reimplemented from TGo4Proxy.

Definition at line 126 of file TGo4FolderProxy.cxx.

References fRootFolderName, and TGo4Slot::SetPar().

Field Documentation

◆ fFolder

TFolder* TGo4FolderProxy::fFolder {nullptr}
protected

◆ fOwner

Bool_t TGo4FolderProxy::fOwner {kFALSE}
protected

Definition at line 48 of file TGo4FolderProxy.h.

Referenced by TGo4FolderProxy(), ~TGo4FolderProxy(), and ReadData().

◆ fRootFolderName

TString TGo4FolderProxy::fRootFolderName
protected

Definition at line 49 of file TGo4FolderProxy.h.

Referenced by TGo4FolderProxy(), ReadData(), and WriteData().


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