ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/headers/TorsionStamp.hpp
Revision: 10
Committed: Tue Jul 9 18:40:59 2002 UTC (22 years ago) by mmeineke
Original Path: branches/mmeineke/mdtools/headers/TorsionStamp.hpp
File size: 722 byte(s)
Log Message:
everything you need to make libmdtools

File Contents

# User Rev Content
1 mmeineke 10 #ifndef __TORSIONSTAMP_H__
2     #define __TORSIONSTAMP_H__
3    
4     #include "LinkedAssign.hpp"
5    
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     private:
25    
26     int a, b, c, d; //the members
27     double constraint;
28     short int have_mbrs, have_constraint;
29    
30     LinkedAssign* unhandled; // the unhandled assignments
31     short int have_extras;
32     };
33    
34     #endif