ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/tags/export/OOPSE-1.0/staticProps/PairCorrList.hpp
Revision: 1334
Committed: Fri Jul 16 18:58:03 2004 UTC (20 years, 1 month ago) by gezelter
Original Path: trunk/OOPSE-1.0/staticProps/PairCorrList.hpp
File size: 748 byte(s)
Log Message:
Initial import of OOPSE-1.0 source tree

File Contents

# User Rev Content
1 gezelter 1334 #ifndef __PAIRCORRLIST_H__
2     #define __PAIRCORRLIST_H__
3    
4     enum pairCorrEnum { none, gofr, gofrTheta, gofrOmega };
5    
6     #define PCL_NAME_LENGTH 200
7    
8     class PairCorrList{
9     public:
10     PairCorrList( pairCorrEnum type, char* atom1, char* atom2 );
11     PairCorrList( ) { myType = none; }
12     ~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__