GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Go4StatusAnalysis
TGo4ObjEnvelope.cxx
Go to the documentation of this file.
1
// $Id: TGo4ObjEnvelope.cxx 934 2013-01-29 15:59:24Z 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
#include "
TGo4ObjEnvelope.h
"
15
16
TGo4ObjEnvelope::TGo4ObjEnvelope
() :
17
TNamed(),
18
fxObject(0),
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
= 0;
45
fbOwner
= kFALSE;
46
return
res;
47
}
TGo4ObjEnvelope::TakeObject
TObject * TakeObject()
Definition:
TGo4ObjEnvelope.cxx:41
TGo4ObjEnvelope::fxObject
TObject * fxObject
Definition:
TGo4ObjEnvelope.h:33
TGo4ObjEnvelope::~TGo4ObjEnvelope
virtual ~TGo4ObjEnvelope()
Definition:
TGo4ObjEnvelope.cxx:34
TGo4ObjEnvelope.h
TGo4ObjEnvelope::fbOwner
Bool_t fbOwner
Definition:
TGo4ObjEnvelope.h:40
TGo4ObjEnvelope::TGo4ObjEnvelope
TGo4ObjEnvelope()
Definition:
TGo4ObjEnvelope.cxx:16
Generated on Fri Oct 26 2018 08:34:52 for GSI Object Oriented Online Offline (Go4) by
1.8.8