| 1 | mmeineke | 10 | #ifndef __BONDSTAMP_H__ | 
| 2 |  |  | #define __BONDSTAMP_H__ | 
| 3 |  |  |  | 
| 4 |  |  | #include "LinkedAssign.hpp" | 
| 5 |  |  |  | 
| 6 |  |  | class BondStamp{ | 
| 7 |  |  |  | 
| 8 |  |  | public: | 
| 9 |  |  | BondStamp(); | 
| 10 |  |  | ~BondStamp(); | 
| 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 the_a, int the_b ); | 
| 16 |  |  | void constrain( double the_constraint ); | 
| 17 |  |  | char* checkMe( void ); | 
| 18 |  |  |  | 
| 19 |  |  | int getA( void ){ return a; } | 
| 20 |  |  | int getB( void ){ return b; } | 
| 21 |  |  |  | 
| 22 |  |  | private: | 
| 23 |  |  |  | 
| 24 |  |  | int a, b; //the members | 
| 25 |  |  | double constraint; | 
| 26 |  |  | short int have_mbrs, have_constraint; | 
| 27 |  |  |  | 
| 28 |  |  | LinkedAssign* unhandled; // the unhandled assignments | 
| 29 |  |  | short int have_extras; | 
| 30 |  |  |  | 
| 31 |  |  | }; | 
| 32 |  |  |  | 
| 33 |  |  |  | 
| 34 |  |  | #endif |