Commit | Line | Data |
---|---|---|
1 | #ifndef DATA_BLOCK_HH | |
2 | #define DATA_BLOCK_HH | |
3 | ||
4 | #include<string> | |
5 | #include "tape_block.hh" | |
6 | ||
7 | using namespace std; | |
8 | ||
9 | class data_block | |
10 | : public tape_block | |
11 | { | |
12 | private: | |
13 | data_block(); | |
14 | ||
15 | public: | |
16 | data_block(tape_block&); | |
17 | ~data_block(); | |
18 | ||
19 | virtual int get_type(); | |
20 | virtual int get_subtype(); | |
21 | int get_word_size(); | |
22 | //protected: | |
23 | string extract_string(int startbyte); | |
24 | }; | |
25 | ||
26 | ||
27 | #endif |