BOSS
7.0.4
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
_
e
f
g
h
i
l
m
o
p
r
s
t
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
z
Enumerations
d
e
g
h
p
r
s
t
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
InstallArea/include/TrkBase/TrkBase/TrkExtInterface.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: TrkExtInterface.h,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $
4
//
5
// Description:
6
// Abstract base class; derived classes enable TrkRecoTrk to give
7
// users access to representation-specific functions without having
8
// the functions in the RecoTrk interface. Users create an object of
9
// of one of the derived TrkExtInterface classes and pass it to
10
// TrkRecoTrk::attach(), which will either accept it or reject it,
11
// depending on whether the TrkRep inside recognizes it. Recognition
12
// is implemented by a simple equality test on the Rep's key.
13
//
14
// Environment:
15
// Software developed for the BaBar Detector at the SLAC B-Factory.
16
//
17
// Author(s): Steve Schaffner
18
//
19
//------------------------------------------------------------------------
20
21
#ifndef TRKEXTINTERFACE_HH
22
#define TRKEXTINTERFACE_HH
23
24
class
TrkRep
;
25
class
IfdKey
;
26
27
// Class interface //
28
class
TrkExtInterface
{
29
30
public
:
31
TrkExtInterface
();
32
virtual
~TrkExtInterface
();
33
virtual
bool
attach
(
TrkRep
*);
34
virtual
bool
attach
(
const
TrkRep
*);
35
bool
isAttached
()
const
{
return
_myRep != 0;}
36
bool
nonConstAttachment
()
const
{
return
_nonconst; }
37
protected
:
38
TrkRep
*
myRep
();
39
const
TrkRep
*
myConstRep
()
const
;
40
virtual
const
IfdKey
&
myKey
()
const
= 0;
41
void
setRep
(
const
TrkRep
*);
42
void
setRep
(
TrkRep
*);
43
private
:
44
TrkRep
* _myRep;
45
bool
_nonconst;
// keep track of whether we attached const or not
46
// Preempt
47
TrkExtInterface
& operator= (
const
TrkExtInterface
&);
48
TrkExtInterface
(
const
TrkExtInterface
&);
49
};
50
51
#endif
52
53
54
55
56
57
58
IfdKey
Definition:
InstallArea/include/ProxyDict/ProxyDict/IfdKey.h:48
TrkExtInterface
Definition:
InstallArea/include/TrkBase/TrkBase/TrkExtInterface.h:28
TrkExtInterface::myConstRep
const TrkRep * myConstRep() const
Definition:
TrkExtInterface.cxx:86
TrkExtInterface::isAttached
bool isAttached() const
Definition:
InstallArea/include/TrkBase/TrkBase/TrkExtInterface.h:35
TrkExtInterface::nonConstAttachment
bool nonConstAttachment() const
Definition:
InstallArea/include/TrkBase/TrkBase/TrkExtInterface.h:36
TrkExtInterface::~TrkExtInterface
virtual ~TrkExtInterface()
Definition:
TrkExtInterface.cxx:27
TrkExtInterface::attach
virtual bool attach(TrkRep *)
Definition:
TrkExtInterface.cxx:34
TrkExtInterface::TrkExtInterface
TrkExtInterface()
Definition:
TrkExtInterface.cxx:22
TrkExtInterface::setRep
void setRep(const TrkRep *)
Definition:
TrkExtInterface.cxx:57
TrkExtInterface::myRep
TrkRep * myRep()
Definition:
TrkExtInterface.cxx:70
TrkExtInterface::myKey
virtual const IfdKey & myKey() const =0
TrkRep
Definition:
InstallArea/include/TrkBase/TrkBase/TrkRep.h:43
source
InstallArea
include
TrkBase
TrkBase
TrkExtInterface.h
Generated by
1.9.6