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