| 1 | #ifndef __BENDSTAMP_H__ | 
| 2 | #define __BENDSTAMP_H__ | 
| 3 |  | 
| 4 | #include "LinkedAssign.hpp" | 
| 5 |  | 
| 6 | class BendStamp{ | 
| 7 |  | 
| 8 | public: | 
| 9 | BendStamp(); | 
| 10 | ~BendStamp(); | 
| 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, int the_c ); | 
| 16 | void constrain( double the_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 |  | 
| 23 | int haveExtras( void ) { return have_extras; } | 
| 24 | LinkedAssign* getExtras( void ) { return unhandled; } | 
| 25 |  | 
| 26 | private: | 
| 27 |  | 
| 28 | int a, b, c; //the members | 
| 29 | double constraint; | 
| 30 | short int have_mbrs, have_constraint; | 
| 31 |  | 
| 32 | LinkedAssign* unhandled; // the unhandled assignments | 
| 33 | short int have_extras; | 
| 34 |  | 
| 35 | }; | 
| 36 |  | 
| 37 | #endif |