BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcRecoUtil/MdcRecoUtil-00-01-08/MdcRecoUtil/AstAbsAssociation.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: AstAbsAssociation.h,v 1.1.1.1 2005/04/21 01:15:12 zhangy Exp $
4//
5// Description:
6// Class AstAbsAssociation
7// Abstract interface for simple one to one associations
8//
9// Environment:
10// Software developed for the BaBar Detector at the SLAC B-Factory.
11//
12// Author List:
13// Phil Strother LBNL
14//
15//------------------------------------------------------------------------
16
17#ifndef ASTABSASSOCIATION_HH
18#define ASTABSASSOCIATION_HH
19
20//-------------
21// C Headers --
22//-------------
23extern "C" {
24}
25
26//---------------
27// C++ Headers --
28//---------------
29
30//----------------------
31// Base Class Headers --
32//----------------------
33//DEL #include "AbsEvent/AbsEvtObj.hh"
34
35//-------------------------------
36// Collaborating Class Headers --
37//-------------------------------
38
39
40//------------------------------------
41// Collaborating Class Declarations --
42//------------------------------------
43
44template <class T1, class T2> class AstAbsAssociation;
45
46// ---------------------
47// -- Class Interface --
48// ---------------------
49
50template <class T1, class T2>
51class AstAbsAssociation{ //DEL : public AbsEvtObj{
52
53//--------------------
54// Declarations --
55//--------------------
56
57 // Typedefs, consts, and enums
58
59//--------------------
60// Instance Members --
61//--------------------
62
63public:
64
65 // Constructors
66 // Should be protected?
68
69 // Copy Constructor
70
71 // Destructor
73
74 // Operators
75
77
79
80 // Selectors (const)
81
82 virtual const T1 *firstArgument() const=0;
83 virtual const T2 *secondArgument() const=0;
84
85private:
86
88
89};
90
91//SKIP #ifdef BES_COMP_INST
92//CHANGE #include "MdcTrkRecon/Tools/AstAbsAssociation.cxx"
93#include "AstAbsAssociation.icc"
94//SKIP #endif // BES_COMP_INST
95
96#endif
97
98
99
100
101
102
103
virtual ~AstAbsAssociation()
bool operator==(const AstAbsAssociation< T1, T2 > &) const
virtual const T2 * secondArgument() const =0
bool operator!=(const AstAbsAssociation< T1, T2 > &) const
virtual const T1 * firstArgument() const =0