ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/types/TorsionStamp.hpp
Revision: 1492
Committed: Fri Sep 24 16:27:58 2004 UTC (19 years, 9 months ago) by tim
File size: 831 byte(s)
Log Message:
change the #include in source files

File Contents

# User Rev Content
1 gezelter 1490 #ifndef __TORSIONSTAMP_H__
2     #define __TORSIONSTAMP_H__
3    
4 tim 1492 #include "io/LinkedAssign.hpp"
5 gezelter 1490
6     class TorsionStamp{
7    
8     public:
9     TorsionStamp();
10     ~TorsionStamp();
11    
12     void assignString( char* lhs, char* rhs );
13     void assignDouble( char* lhs, double rhs );
14     void assignInt( char* lhs, int rhs );
15     void members( int a, int b, int c, int d );
16     void constrain( double constraint );
17     char* checkMe( void );
18    
19     int getA( void ){ return a; }
20     int getB( void ){ return b; }
21     int getC( void ){ return c; }
22     int getD( void ){ return d; }
23    
24     int haveExtras( void ) { return have_extras; }
25     LinkedAssign* getExtras( void ) { return unhandled; }
26    
27     private:
28    
29     int a, b, c, d; //the members
30     double constraint;
31     short int have_mbrs, have_constraint;
32    
33     LinkedAssign* unhandled; // the unhandled assignments
34     short int have_extras;
35     };
36    
37     #endif