#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 |
virtual Int_t | PrintStatus (Text_t *buffer=0, Int_t buflen=0) |
Protected Attributes | |
UInt_t | fiObjectSize |
Bool_t | fbResetProtect |
Bool_t | fbDeleteProtect |
TString | fxObjectClass |
TString | fxStatusTime |
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 28 of file TGo4ObjectStatus.h.
TGo4ObjectStatus::TGo4ObjectStatus | ( | ) |
default ctor for streamer.
Definition at line 23 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 33 of file TGo4ObjectStatus.cxx.
References fbDeleteProtect, fbResetProtect, fiObjectSize, fxObjectClass, fxStatusTime, GO4TRACE, TGo4Status::kGo4CanDelete, and TGo4Status::kGo4NoReset.
TGo4ObjectStatus::~TGo4ObjectStatus | ( | ) | [virtual] |
Definition at line 65 of file TGo4ObjectStatus.cxx.
References GO4TRACE.
const char* TGo4ObjectStatus::GetObjectClass | ( | ) | const [inline] |
ClassName of the described object.
Definition at line 42 of file TGo4ObjectStatus.h.
References fxObjectClass.
Referenced by TGo4ParameterStatus::CreateParameter(), TGo4AnalysisLevelIter::EntryClassName(), PrintStatus(), TGo4HistogramInfo::RefreshHistogramInfo(), TGo4ParaEdit::RefreshWidget(), and TGo4ParameterStatus::UpdateParameterValues().
Int_t TGo4ObjectStatus::GetObjectSize | ( | ) | const [inline] |
Size of described object in byte.
Definition at line 45 of file TGo4ObjectStatus.h.
References fiObjectSize.
Referenced by TGo4AnalysisObjectManager::PrintFolder(), PrintStatus(), TGo4HistogramInfo::RefreshHistogramInfo(), and TGo4AnalysisLevelIter::sizeinfo().
const char* TGo4ObjectStatus::GetTimeString | ( | ) | const [inline] |
Creation time string; sql format.
Definition at line 54 of file TGo4ObjectStatus.h.
References fxStatusTime.
Referenced by PrintStatus(), and TGo4HistogramInfo::RefreshHistogramInfo().
Bool_t TGo4ObjectStatus::IsDeleteProtect | ( | ) | const [inline] |
Object's delete protection state.
Definition at line 51 of file TGo4ObjectStatus.h.
References fbDeleteProtect.
Referenced by TGo4AnalysisLevelIter::getflag(), and PrintStatus().
Bool_t TGo4ObjectStatus::IsResetProtect | ( | ) | const [inline] |
Object's reset protection state.
Definition at line 48 of file TGo4ObjectStatus.h.
References fbResetProtect.
Referenced by TGo4AnalysisLevelIter::getflag(), and PrintStatus().
Int_t TGo4ObjectStatus::PrintStatus | ( | Text_t * | buffer = 0 , |
|
Int_t | buflen = 0 | |||
) | [virtual] |
basic method to printout status information on stdout; to be overridden by specific subclass
Reimplemented from TGo4Status.
Reimplemented in TGo4HistogramStatus, TGo4ParameterStatus, TGo4BranchStatus, and TGo4MemberStatus.
Definition at line 71 of file TGo4ObjectStatus.cxx.
References GetObjectClass(), GetObjectSize(), GetTimeString(), GO4TRACE, IsDeleteProtect(), IsResetProtect(), TGo4Status::PrintBuffer(), and TGo4Status::PrintIndent().
Bool_t TGo4ObjectStatus::fbDeleteProtect [protected] |
If true, described object is protected against deletion from gui.
Definition at line 66 of file TGo4ObjectStatus.h.
Referenced by IsDeleteProtect(), and TGo4ObjectStatus().
Bool_t TGo4ObjectStatus::fbResetProtect [protected] |
If true, described object is protected against reset (Clear()) from gui.
Definition at line 63 of file TGo4ObjectStatus.h.
Referenced by IsResetProtect(), and TGo4ObjectStatus().
UInt_t TGo4ObjectStatus::fiObjectSize [protected] |
Size of the described object in byte.
Definition at line 60 of file TGo4ObjectStatus.h.
Referenced by GetObjectSize(), TGo4HistogramStatus::TGo4HistogramStatus(), and TGo4ObjectStatus().
TString TGo4ObjectStatus::fxObjectClass [protected] |
Classname of the described object.
Definition at line 69 of file TGo4ObjectStatus.h.
Referenced by GetObjectClass(), TGo4BranchStatus::TGo4BranchStatus(), TGo4MemberStatus::TGo4MemberStatus(), TGo4ObjectStatus(), and TGo4ParameterStatus::TGo4ParameterStatus().
TString TGo4ObjectStatus::fxStatusTime [protected] |
creation time of status object
Definition at line 72 of file TGo4ObjectStatus.h.
Referenced by GetTimeString(), and TGo4ObjectStatus().