ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/types/ZconStamp.hpp
Revision: 1490
Committed: Fri Sep 24 04:16:43 2004 UTC (19 years, 9 months ago) by gezelter
File size: 1117 byte(s)
Log Message:
Import of OOPSE v. 2.0

File Contents

# User Rev Content
1 gezelter 1490 #ifndef __ZCONSTAMP_H__
2     #define __ZCONSTAMP_H__
3    
4     #include "LinkedAssign.hpp"
5    
6     class ZconStamp{
7    
8     public:
9     ZconStamp(int theIndex);
10     ~ZconStamp();
11    
12     int assignString( char* lhs, char* rhs, char** err );
13     int assignDouble( char* lhs, double rhs, char** err );
14     int assignInt( char* lhs, int rhs, char** err );
15    
16     int haveExtras( void ) { return have_extras; }
17     LinkedAssign* getExtras( void ) { return unhandled; }
18    
19     char* checkMe( void );
20    
21     int getMolIndex( void ) { return molIndex; }
22     double getZpos( void ) { return zPos; }
23     double getKratio( void ) { return kRatio; }
24     double getCantVel( void ) { return cantVel; }
25    
26     short int haveZpos( void ) { return have_zPos; }
27     short int haveKratio( void ) { return have_kRatio; }
28     short int haveCantVel( void ) { return have_cantVel; }
29    
30     private:
31    
32     short int have_zPos;
33     short int have_molIndex;
34     short int have_kRatio;
35     short int have_cantVel;
36    
37     double zPos;
38     double kRatio;
39     double cantVel;
40     int molIndex;
41    
42     int index;
43    
44     LinkedAssign* unhandled; // the unhandled assignments
45     short int have_extras;
46     };
47    
48    
49     #endif // __ZCONSTAMP_H__