#include <TGo4ObjectStatus.h>
Public Member Functions | |
TGo4ObjectStatus () | |
default ctor for streamer. | |
TGo4ObjectStatus (TObject *object, Bool_t withtime=kTRUE) | |
Create status information from given TObject. | |
virtual | ~TGo4ObjectStatus () |
const char * | GetObjectClass () const |
ClassName of the described object. | |
Int_t | GetObjectSize () const |
Size of described object in byte. | |
Bool_t | IsResetProtect () const |
Object's reset protection state. | |
Bool_t | IsDeleteProtect () const |
Object's delete protection state. | |
const char * | GetTimeString () const |
Creation time string; sql format. | |
virtual Int_t | PrintStatus (Text_t *buffer=0, Int_t buflen=0) |
basic method to printout status information on stdout; to be overridden by specific subclass | |
Protected Attributes | |
UInt_t | fiObjectSize |
Size of the described object in byte. | |
Bool_t | fbResetProtect |
If true, described object is protected against reset (Clear()) from gui. | |
Bool_t | fbDeleteProtect |
If true, described object is protected against deletion from gui. | |
TString | fxObjectClass |
Classname of the described object. | |
TString | fxStatusTime |
creation time of status object |
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 | ( | ) |
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.
TGo4ObjectStatus::~TGo4ObjectStatus | ( | ) | [virtual] |
Definition at line 65 of file TGo4ObjectStatus.cxx.
const char* TGo4ObjectStatus::GetObjectClass | ( | ) | const [inline] |
Int_t TGo4ObjectStatus::GetObjectSize | ( | ) | const [inline] |
Bool_t TGo4ObjectStatus::IsResetProtect | ( | ) | const [inline] |
Bool_t TGo4ObjectStatus::IsDeleteProtect | ( | ) | const [inline] |
const char* TGo4ObjectStatus::GetTimeString | ( | ) | const [inline] |
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 TGo4BranchStatus, and TGo4MemberStatus.
Definition at line 71 of file TGo4ObjectStatus.cxx.
UInt_t TGo4ObjectStatus::fiObjectSize [protected] |
Bool_t TGo4ObjectStatus::fbResetProtect [protected] |
If true, described object is protected against reset (Clear()) from gui.
Definition at line 63 of file TGo4ObjectStatus.h.
Bool_t TGo4ObjectStatus::fbDeleteProtect [protected] |
If true, described object is protected against deletion from gui.
Definition at line 66 of file TGo4ObjectStatus.h.
TString TGo4ObjectStatus::fxObjectClass [protected] |
TString TGo4ObjectStatus::fxStatusTime [protected] |