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

TGo4ComCopyObject Class Reference

Copies client object of oldname into a new object of new name. More...

#include <TGo4ComCopyObject.h>

Inheritance diagram for TGo4ComCopyObject:

TGo4AnalysisObjectCommand TGo4AnalysisCommand TGo4Command List of all members.

Public Methods

 TGo4ComCopyObject ()
 TGo4ComCopyObject (const char *object, const char *target)
virtual ~TGo4ComCopyObject ()
Int_t ExeCom ()
 Do the command action. More...

const char * GetTargetName () const
 Access to string with the target object name. More...

void SetTargetName (const char *name)
 Set the target object name under command. More...


Private Attributes

TString fxTargetName
 Name of the copy target object. More...


Detailed Description

Copies client object of oldname into a new object of new name.

New object will be added to the specific dynamic list (for histograms, index, conditions, respectively), even if old object was not in it.

Author:
J. Adamczewski
Since:
06-Jun-2001

Definition at line 30 of file TGo4ComCopyObject.h.


Constructor & Destructor Documentation

TGo4ComCopyObject::TGo4ComCopyObject  
 

Definition at line 31 of file TGo4ComCopyObject.cxx.

References kGo4ComModeController, TGo4Command::SetProtection(), SetTargetName(), and TRACE.

TGo4ComCopyObject::TGo4ComCopyObject const char *    object,
const char *    target
 

Definition at line 20 of file TGo4ComCopyObject.cxx.

References kGo4ComModeController, TGo4Command::SetProtection(), SetTargetName(), and TRACE.

TGo4ComCopyObject::~TGo4ComCopyObject   [virtual]
 

Definition at line 41 of file TGo4ComCopyObject.cxx.

References TRACE.


Member Function Documentation

Int_t TGo4ComCopyObject::ExeCom   [virtual]
 

Do the command action.

Reimplemented from TGo4Command.

Definition at line 47 of file TGo4ComCopyObject.cxx.

References TGo4Log::Debug(), TGo4Command::fxReceiverBase, TGo4AnalysisObjectCommand::GetObjectName(), GetTargetName(), and TRACE.

const char* TGo4ComCopyObject::GetTargetName   const [inline]
 

Access to string with the target object name.

Definition at line 42 of file TGo4ComCopyObject.h.

References fxTargetName.

Referenced by ExeCom().

void TGo4ComCopyObject::SetTargetName const char *    name [inline]
 

Set the target object name under command.

Definition at line 45 of file TGo4ComCopyObject.h.

References fxTargetName.

Referenced by TGo4ComCopyObject().


Member Data Documentation

TString TGo4ComCopyObject::fxTargetName [private]
 

Name of the copy target object.

Definition at line 49 of file TGo4ComCopyObject.h.

Referenced by GetTargetName(), and SetTargetName().


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