GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ObjEnvelope.h
Go to the documentation of this file.
1 // $Id: TGo4ObjEnvelope.h 478 2009-10-29 12:26:09Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4OBJENVELOPE_H
15 #define TGO4OBJENVELOPE_H
16 
17 #include "TNamed.h"
18 
19 class TGo4ObjEnvelope : public TNamed {
20  public:
22  TGo4ObjEnvelope(TObject* obj, const char* name, const char* folder);
23  virtual ~TGo4ObjEnvelope();
24 
25  const char* GetObjName() const { return fxObjName.Data(); }
26  const char* GetObjFolder() const { return fxObjFolder.Data(); }
27 
28  TObject* GetObject() const { return fxObject; }
29  TObject* TakeObject();
30 
31  protected:
32 
33  TObject* fxObject;
34  TString fxObjName;
35  TString fxObjFolder;
36 
40  Bool_t fbOwner;
41 
43 };
44 
45 
46 #endif
TObject * TakeObject()
TObject * fxObject
TObject * GetObject() const
virtual ~TGo4ObjEnvelope()
const char * GetObjFolder() const
const char * GetObjName() const
ClassDef(TGo4ObjEnvelope, 1)