| 1 | /****************************************************************************** |
| 2 | * |
| 3 | * LDC2 source code |
| 4 | * |
| 5 | * $Date: 2007/03/26 01:00:38 $ |
| 6 | * $Author: hachti $ |
| 7 | * |
| 8 | * $Log: broken_block.hh,v $ |
| 9 | * Revision 2.0 2007/03/26 01:00:38 hachti |
| 10 | * *** empty log message *** |
| 11 | * |
| 12 | * |
| 13 | ******************************************************************************/ |
| 14 | |
| 15 | #ifndef BROKEN_BLOCK_HH |
| 16 | #define BROKEN_BLOCK_HH |
| 17 | |
| 18 | #include <vector> |
| 19 | #include <string> |
| 20 | |
| 21 | #include "tape_block.hh" |
| 22 | |
| 23 | using namespace std; |
| 24 | |
| 25 | /*! |
| 26 | * Class representating a broken tape block |
| 27 | */ |
| 28 | class broken_block |
| 29 | : public tape_block |
| 30 | { |
| 31 | friend class tape_block; |
| 32 | |
| 33 | private: |
| 34 | broken_block(tape_block&); |
| 35 | |
| 36 | public: |
| 37 | int get_word_size(); |
| 38 | virtual vector<string> get_description(); |
| 39 | virtual bool get_obj_end(); |
| 40 | }; |
| 41 | |
| 42 | |
| 43 | #endif |