1 |
mmeineke |
803 |
#ifndef __PAIRCORRLIST_H__ |
2 |
|
|
#define __PAIRCORRLIST_H__ |
3 |
|
|
|
4 |
mmeineke |
810 |
enum pairCorrEnum { none, gofr }; |
5 |
mmeineke |
803 |
|
6 |
|
|
#define PCL_NAME_LENGTH 200 |
7 |
|
|
|
8 |
|
|
class PairCorrList{ |
9 |
|
|
public: |
10 |
|
|
PairCorrList( pairCorrEnum type, char* atom1, char* atom2 ); |
11 |
mmeineke |
810 |
PairCorrList( ) { myType = none; } |
12 |
mmeineke |
803 |
~PairCorrList(){} |
13 |
|
|
|
14 |
|
|
void setType( pairCorrEnum type ) { myType = type; } |
15 |
|
|
void setAtomPair( char* atom1, char* atom2 ); |
16 |
|
|
|
17 |
|
|
void getAtom1( char* outString ); |
18 |
|
|
void getAtom2( char* outString ); |
19 |
|
|
pairCorrEnum getType() { return myType; } |
20 |
|
|
|
21 |
|
|
|
22 |
|
|
private: |
23 |
|
|
|
24 |
|
|
pairCorrEnum myType; |
25 |
|
|
char myAtom1[PCL_NAME_LENGTH]; |
26 |
|
|
char myAtom2[PCL_NAME_LENGTH]; |
27 |
|
|
|
28 |
|
|
}; |
29 |
|
|
|
30 |
|
|
bool operator<(PairCorrList a, PairCorrList b); |
31 |
|
|
bool operator==(PairCorrList a, PairCorrList b); |
32 |
|
|
|
33 |
|
|
#endif // __PAIRCORRLIST_H__ |