Revision: | 795 |
Committed: | Thu Oct 2 22:06:53 2003 UTC (21 years, 7 months ago) by mmeineke |
File size: | 392 byte(s) |
Log Message: | finishing up the constructs needed to get this program up and running |
# | Content |
---|---|
1 | #include <stdlib.h> |
2 | #include <vector> |
3 | |
4 | #include "AllCorr.hpp" |
5 | |
6 | |
7 | AllCorr::AllCorr(){ |
8 | |
9 | pairCorrs = NULL; |
10 | } |
11 | |
12 | AllCorr::~AllCorr(){ |
13 | |
14 | if( pairCorrs != NULL ) delete[] pairCorrs; |
15 | } |
16 | |
17 | |
18 | void AllCorr::setPairCorrList( vector <PairCorrList> &theList ){ |
19 | |
20 | int i; |
21 | |
22 | theList.sort(); |
23 | |
24 | nPairs = (int)theList.size(); |
25 | pairCorrs = new PairCorrType*[nPairs]; |
26 | |
27 | for(i=0;i<nPairs;i++){ |
28 | } |
29 | |
30 | } |
31 |