BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcRecoUtil/include/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// C++ Headers --
27//---------------
28
29//----------------------
30// Base Class Headers --
31//----------------------
32// DEL #include "AbsEvent/AbsEvtObj.hh"
33
34//-------------------------------
35// Collaborating Class Headers --
36//-------------------------------
37
38//------------------------------------
39// Collaborating Class Declarations --
40//------------------------------------
41
42template <class T1, class T2> class AstAbsAssociation;
43
44// ---------------------
45// -- Class Interface --
46// ---------------------
47
48template <class T1, class T2> class AstAbsAssociation { // DEL : public AbsEvtObj{
49
50 //--------------------
51 // Declarations --
52 //--------------------
53
54 // Typedefs, consts, and enums
55
56 //--------------------
57 // Instance Members --
58 //--------------------
59
60public:
61 // Constructors
62 // Should be protected?
64
65 // Copy Constructor
66
67 // Destructor
69
70 // Operators
71
73
75
76 // Selectors (const)
77
78 virtual const T1* firstArgument() const = 0;
79 virtual const T2* secondArgument() const = 0;
80
81private:
83};
84
85// SKIP #ifdef BES_COMP_INST
86// CHANGE #include "MdcTrkRecon/Tools/AstAbsAssociation.cxx"
87#include "AstAbsAssociation.icc"
88// SKIP #endif // BES_COMP_INST
89
90#endif
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