TGo4ObjectStatus Class Reference

One entry of the object names folder. More...

#include <TGo4ObjectStatus.h>

Inheritance diagram for TGo4ObjectStatus:

TGo4Status TGo4BranchStatus TGo4MemberStatus

List of all members.

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


Detailed Description

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.

Since:
7/2001
Author:
J. Adamczewski

Definition at line 28 of file TGo4ObjectStatus.h.


Constructor & Destructor Documentation

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.

TGo4ObjectStatus::~TGo4ObjectStatus (  )  [virtual]

Definition at line 65 of file TGo4ObjectStatus.cxx.


Member Function Documentation

const char* TGo4ObjectStatus::GetObjectClass (  )  const [inline]

ClassName of the described object.

Definition at line 42 of file TGo4ObjectStatus.h.

Int_t TGo4ObjectStatus::GetObjectSize (  )  const [inline]

Size of described object in byte.

Definition at line 45 of file TGo4ObjectStatus.h.

Bool_t TGo4ObjectStatus::IsResetProtect (  )  const [inline]

Object's reset protection state.

Definition at line 48 of file TGo4ObjectStatus.h.

Bool_t TGo4ObjectStatus::IsDeleteProtect (  )  const [inline]

Object's delete protection state.

Definition at line 51 of file TGo4ObjectStatus.h.

const char* TGo4ObjectStatus::GetTimeString (  )  const [inline]

Creation time string; sql format.

Definition at line 54 of file TGo4ObjectStatus.h.

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.


Member Data Documentation

UInt_t TGo4ObjectStatus::fiObjectSize [protected]

Size of the described object in byte.

Definition at line 60 of file TGo4ObjectStatus.h.

If true, described object is protected against reset (Clear()) from gui.

Definition at line 63 of file TGo4ObjectStatus.h.

If true, described object is protected against deletion from gui.

Definition at line 66 of file TGo4ObjectStatus.h.

TString TGo4ObjectStatus::fxObjectClass [protected]

Classname of the described object.

Definition at line 69 of file TGo4ObjectStatus.h.

TString TGo4ObjectStatus::fxStatusTime [protected]

creation time of status object

Definition at line 72 of file TGo4ObjectStatus.h.


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

Generated on Thu Oct 28 12:31:31 2010 for Go4-Taskhandlerv4.04-2 by  doxygen 1.5.6