Commit | Line | Data |
---|---|---|
1 | #ifndef BROKEN_BLOCK_HH | |
2 | #define BROKEN_BLOCK_HH | |
3 | ||
4 | #include <vector> | |
5 | #include <string> | |
6 | ||
7 | #include "tape_block.hh" | |
8 | ||
9 | using namespace std; | |
10 | ||
11 | /*! | |
12 | * Class representating a broken tape block | |
13 | */ | |
14 | class broken_block | |
15 | : public tape_block | |
16 | { | |
17 | friend class tape_block; | |
18 | ||
19 | private: | |
20 | broken_block(tape_block&); | |
21 | ||
22 | public: | |
23 | int get_word_size(); | |
24 | virtual vector<string> get_description(); | |
25 | virtual bool get_obj_end(); | |
26 | }; | |
27 | ||
28 | ||
29 | #endif |