GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <TGo4ObjectStatus.h>
Public Member Functions | |
TGo4ObjectStatus () | |
TGo4ObjectStatus (TObject *object, Bool_t withtime=kTRUE) | |
virtual | ~TGo4ObjectStatus () |
const char * | GetObjectClass () const |
Int_t | GetObjectSize () const |
Bool_t | IsResetProtect () const |
Bool_t | IsDeleteProtect () const |
const char * | GetTimeString () const |
void | Print (Option_t *opt="") const override |
![]() | |
TGo4Status () | |
TGo4Status (const char *name) | |
TGo4Status (const char *name, const char *title) | |
virtual | ~TGo4Status () |
virtual Int_t | PrintStatus (Text_t *buffer=nullptr, Int_t buflen=0) |
void | Print (Option_t *opt="") const override |
Protected Attributes | |
UInt_t | fiObjectSize {0} |
Bool_t | fbResetProtect {kFALSE} |
Bool_t | fbDeleteProtect {kTRUE} |
TString | fxObjectClass |
TString | fxStatusTime |
Additional Inherited Members | |
![]() | |
enum | { kGo4NoReset = BIT(20), kGo4CanDelete = BIT(21), kGo4BackStoreReset = BIT(22) } |
![]() | |
static Text_t * | PrintIndent (Text_t *buffer, Int_t &buflen) |
static Text_t * | PrintBuffer (char *buffer, Int_t &buflen, const char *text,...) |
static void | PrintLine (const char *text,...) |
One entry of the object names folder. Contains the go4 object structural information, such as name, title, classname, date, size. May be subclassed later to include further information on special objects, e.g. histogram dimensions and contents.
Definition at line 27 of file TGo4ObjectStatus.h.
TGo4ObjectStatus::TGo4ObjectStatus | ( | ) |
default ctor for streamer.
Definition at line 22 of file TGo4ObjectStatus.cxx.
TGo4ObjectStatus::TGo4ObjectStatus | ( | TObject * | object, |
Bool_t | withtime = kTRUE |
||
) |
Create status information from given TObject. Flag withtime indicates if the status creation time shall be noted inside the status object.
Definition at line 27 of file TGo4ObjectStatus.cxx.
References fbDeleteProtect, fbResetProtect, fiObjectSize, fxObjectClass, fxStatusTime, GO4TRACE, TGo4Status::kGo4CanDelete, and TGo4Status::kGo4NoReset.
|
virtual |
Definition at line 54 of file TGo4ObjectStatus.cxx.
References GO4TRACE.
|
inline |
ClassName of the described object.
Definition at line 41 of file TGo4ObjectStatus.h.
References fxObjectClass.
Referenced by TGo4ParameterStatus::CreateParameter(), TGo4AnalysisLevelIter::EntryClassName(), Print(), TGo4HistogramInfo::RefreshHistogramInfo(), TGo4ParaEdit::RefreshWidget(), and TGo4ParameterStatus::UpdateParameterValues().
|
inline |
Size of described object in byte.
Definition at line 44 of file TGo4ObjectStatus.h.
References fiObjectSize.
Referenced by Print(), TGo4AnalysisObjectManager::PrintFolder(), TGo4HistogramInfo::RefreshHistogramInfo(), and TGo4AnalysisLevelIter::sizeinfo().
|
inline |
Creation time string; sql format.
Definition at line 53 of file TGo4ObjectStatus.h.
References fxStatusTime, and Print().
Referenced by Print(), and TGo4HistogramInfo::RefreshHistogramInfo().
|
inline |
Object's delete protection state.
Definition at line 50 of file TGo4ObjectStatus.h.
References fbDeleteProtect.
Referenced by TGo4AnalysisLevelIter::getflag(), and Print().
|
inline |
Object's reset protection state.
Definition at line 47 of file TGo4ObjectStatus.h.
References fbResetProtect.
Referenced by TGo4AnalysisLevelIter::getflag(), and Print().
|
override |
Definition at line 60 of file TGo4ObjectStatus.cxx.
References GetObjectClass(), GetObjectSize(), GetTimeString(), IsDeleteProtect(), IsResetProtect(), and TGo4Status::PrintLine().
Referenced by GetTimeString(), TGo4MemberStatus::Print(), TGo4BranchStatus::Print(), TGo4ParameterStatus::Print(), and TGo4HistogramStatus::Print().
|
protected |
If true, described object is protected against deletion from gui.
Definition at line 65 of file TGo4ObjectStatus.h.
Referenced by IsDeleteProtect(), and TGo4ObjectStatus().
|
protected |
If true, described object is protected against reset (Clear()) from gui.
Definition at line 62 of file TGo4ObjectStatus.h.
Referenced by IsResetProtect(), and TGo4ObjectStatus().
|
protected |
Size of the described object in byte.
Definition at line 59 of file TGo4ObjectStatus.h.
Referenced by GetObjectSize(), TGo4HistogramStatus::TGo4HistogramStatus(), and TGo4ObjectStatus().
|
protected |
Classname of the described object.
Definition at line 68 of file TGo4ObjectStatus.h.
Referenced by GetObjectClass(), TGo4BranchStatus::TGo4BranchStatus(), TGo4MemberStatus::TGo4MemberStatus(), TGo4ObjectStatus(), and TGo4ParameterStatus::TGo4ParameterStatus().
|
protected |
creation time of status object
Definition at line 71 of file TGo4ObjectStatus.h.
Referenced by GetTimeString(), and TGo4ObjectStatus().