Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4ObjectStatus Class Reference

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

#include <TGo4ObjectStatus.h>

Inheritance diagram for TGo4ObjectStatus:

TGo4Status TGo4BranchStatus TGo4CanvasStatus TGo4ConditionStatus TGo4EventProcStatus TGo4EventSourceStatus TGo4EventStatus TGo4EventStoreStatus TGo4HistogramStatus TGo4MemberStatus TGo4ParameterStatus TGo4PictureStatus List of all members.

Public Methods

 TGo4ObjectStatus ()
 default ctor for streamer. More...

 TGo4ObjectStatus (TObject *object, Bool_t withtime=kTRUE)
 Create status information from given TObject. More...

virtual ~TGo4ObjectStatus ()
const char * GetObjectClass () const
 ClassName of the described object. More...

Int_t GetObjectSize () const
 Size of described object in byte. More...

Bool_t IsResetProtect () const
 Object's reset protection state. More...

Bool_t IsDeleteProtect () const
 Object's delete protection state. More...

const char * GetTimeString () const
 Creation time string; sql format. More...

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. More...


Protected Attributes

UInt_t fiObjectSize
 Size of the described object in byte. More...

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

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

TString fxObjectClass
 Classname of the described object. More...

TString fxStatusTime
 creation time of status object. More...


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 30 of file TGo4ObjectStatus.h.


Constructor & Destructor Documentation

TGo4ObjectStatus::TGo4ObjectStatus   [inline]
 

default ctor for streamer.

Definition at line 36 of file TGo4ObjectStatus.h.

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 25 of file TGo4ObjectStatus.cxx.

References fbDeleteProtect, fbResetProtect, fiObjectSize, fxObjectClass, fxStatusTime, TGo4Status::kGo4CanDelete, TGo4Status::kGo4NoReset, and TRACE.

TGo4ObjectStatus::~TGo4ObjectStatus   [virtual]
 

Definition at line 96 of file TGo4ObjectStatus.cxx.

References TRACE.


Member Function Documentation

const char* TGo4ObjectStatus::GetObjectClass   const [inline]
 

ClassName of the described object.

Definition at line 48 of file TGo4ObjectStatus.h.

References fxObjectClass.

Referenced by TGo4RemoteBrowserSlots::AddFolder(), and PrintStatus().

Int_t TGo4ObjectStatus::GetObjectSize   const [inline]
 

Size of described object in byte.

Definition at line 51 of file TGo4ObjectStatus.h.

References fiObjectSize.

Referenced by TGo4AnalysisObjectManager::PrintFolder(), and PrintStatus().

Bool_t TGo4ObjectStatus::IsResetProtect   const [inline]
 

Object's reset protection state.

Definition at line 54 of file TGo4ObjectStatus.h.

References fbResetProtect.

Referenced by TGo4RemoteBrowserSlots::AddFolder(), and PrintStatus().

Bool_t TGo4ObjectStatus::IsDeleteProtect   const [inline]
 

Object's delete protection state.

Definition at line 57 of file TGo4ObjectStatus.h.

References fbDeleteProtect.

Referenced by TGo4RemoteBrowserSlots::AddFolder(), and PrintStatus().

const char* TGo4ObjectStatus::GetTimeString   const [inline]
 

Creation time string; sql format.

Definition at line 60 of file TGo4ObjectStatus.h.

References fxStatusTime.

Referenced by 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 TGo4CanvasStatus, TGo4ConditionStatus, TGo4EventProcStatus, TGo4EventSourceStatus, TGo4EventStatus, TGo4EventStoreStatus, TGo4HistogramStatus, TGo4ParameterStatus, TGo4PictureStatus, TGo4BranchStatus, and TGo4MemberStatus.

Definition at line 52 of file TGo4ObjectStatus.cxx.

References GetObjectClass(), GetObjectSize(), GetTimeString(), IsDeleteProtect(), IsResetProtect(), TGo4Status::PrintBuffer(), TGo4Status::PrintIndent(), and TRACE.

Referenced by TGo4MemberStatus::PrintStatus(), TGo4BranchStatus::PrintStatus(), TGo4PictureStatus::PrintStatus(), TGo4ParameterStatus::PrintStatus(), TGo4HistogramStatus::PrintStatus(), TGo4EventStoreStatus::PrintStatus(), TGo4EventStatus::PrintStatus(), TGo4EventSourceStatus::PrintStatus(), TGo4EventProcStatus::PrintStatus(), TGo4ConditionStatus::PrintStatus(), and TGo4CanvasStatus::PrintStatus().


Member Data Documentation

UInt_t TGo4ObjectStatus::fiObjectSize [protected]
 

Size of the described object in byte.

Definition at line 73 of file TGo4ObjectStatus.h.

Referenced by GetObjectSize(), TGo4ConditionStatus::TGo4ConditionStatus(), TGo4HistogramStatus::TGo4HistogramStatus(), and TGo4ObjectStatus().

Bool_t TGo4ObjectStatus::fbResetProtect [protected]
 

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

Definition at line 78 of file TGo4ObjectStatus.h.

Referenced by IsResetProtect(), and TGo4ObjectStatus().

Bool_t TGo4ObjectStatus::fbDeleteProtect [protected]
 

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

Definition at line 83 of file TGo4ObjectStatus.h.

Referenced by IsDeleteProtect(), and TGo4ObjectStatus().

TString TGo4ObjectStatus::fxObjectClass [protected]
 

Classname of the described object.

Definition at line 88 of file TGo4ObjectStatus.h.

Referenced by GetObjectClass(), TGo4BranchStatus::TGo4BranchStatus(), TGo4MemberStatus::TGo4MemberStatus(), and TGo4ObjectStatus().

TString TGo4ObjectStatus::fxStatusTime [protected]
 

creation time of status object.

Definition at line 91 of file TGo4ObjectStatus.h.

Referenced by GetTimeString(), and TGo4ObjectStatus().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:48 2005 for Go4-v2.10-5 by doxygen1.2.15