]>
Commit | Line | Data |
---|---|---|
b15de2d2 | 1 | ////////////////////////////////////////////////////////////////////// |
2 | // Author: Henrik Tydesjo // | |
3 | // Implementation of the nodes to put in the integer map // | |
4 | // (AliITSIntMap). // | |
5 | ////////////////////////////////////////////////////////////////////// | |
6 | ||
7 | #include "AliITSIntMapNode.h" | |
8 | ||
9 | AliITSIntMapNode::AliITSIntMapNode(): | |
10 | fKey(0), | |
11 | fVal(0), | |
12 | fNext(0) | |
13 | {} | |
14 | ||
15 | AliITSIntMapNode::AliITSIntMapNode(Int_t key, Int_t val, AliITSIntMapNode* next): | |
16 | fKey(key), | |
17 | fVal(val), | |
18 | fNext(next) | |
19 | {} | |
20 | ||
21 | AliITSIntMapNode::AliITSIntMapNode(const AliITSIntMapNode& obj): | |
22 | fKey(obj.fKey), | |
23 | fVal(obj.fVal), | |
24 | fNext(obj.fNext) | |
25 | { | |
26 | // copy constructor | |
27 | } | |
28 | ||
29 | AliITSIntMapNode::~AliITSIntMapNode() | |
30 | {} | |
31 | ||
32 | AliITSIntMapNode& AliITSIntMapNode::operator=(const AliITSIntMapNode& obj) | |
33 | { | |
34 | // assignment operator | |
35 | if (this!=&obj) { | |
36 | fKey = obj.fKey; | |
37 | fVal = obj.fVal; | |
38 | fNext = obj.fNext; | |
39 | } | |
40 | return *this; | |
41 | } | |
42 |