GSI Object Oriented Online Offline (Go4)
GO4-6.4.0
Loading...
Searching...
No Matches
Go4StatusAnalysis
TGo4ObjEnvelope.cxx
Go to the documentation of this file.
1
// $Id$
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 fuer 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
#include "
TGo4ObjEnvelope.h
"
15
16
TGo4ObjEnvelope::TGo4ObjEnvelope
() :
17
TNamed(),
18
fxObject
(nullptr),
19
fxObjName
(),
20
fxObjFolder
(),
21
fbOwner
(kTRUE)
22
{
23
}
24
25
TGo4ObjEnvelope::TGo4ObjEnvelope
(TObject *obj,
const
char
*name,
const
char
*folder) :
26
TNamed(
"Go4Envelope"
,
""
),
27
fxObject
(obj),
28
fxObjName
(name),
29
fxObjFolder
(folder),
30
fbOwner
(kFALSE)
31
{
32
}
33
34
TGo4ObjEnvelope::~TGo4ObjEnvelope
()
35
{
36
if
(
fbOwner
&&
fxObject
) {
37
delete
fxObject
;
38
}
39
}
40
41
TObject *
TGo4ObjEnvelope::TakeObject
()
42
{
43
TObject *res =
fxObject
;
44
fxObject
=
nullptr
;
45
fbOwner
= kFALSE;
46
return
res;
47
}
TGo4ObjEnvelope.h
TGo4ObjEnvelope::fbOwner
Bool_t fbOwner
this flag true when envelope created via default constructor in this case object, included in envelop...
Definition
TGo4ObjEnvelope.h:40
TGo4ObjEnvelope::TGo4ObjEnvelope
TGo4ObjEnvelope()
Definition
TGo4ObjEnvelope.cxx:16
TGo4ObjEnvelope::fxObjFolder
TString fxObjFolder
Definition
TGo4ObjEnvelope.h:35
TGo4ObjEnvelope::fxObjName
TString fxObjName
Definition
TGo4ObjEnvelope.h:34
TGo4ObjEnvelope::~TGo4ObjEnvelope
virtual ~TGo4ObjEnvelope()
Definition
TGo4ObjEnvelope.cxx:34
TGo4ObjEnvelope::fxObject
TObject * fxObject
Definition
TGo4ObjEnvelope.h:33
TGo4ObjEnvelope::TakeObject
TObject * TakeObject()
Definition
TGo4ObjEnvelope.cxx:41
Generated by
1.13.2