#ifndef DATA_BLOCK_HH
#define DATA_BLOCK_HH
+#include<string>
#include "tape_block.hh"
+using namespace std;
+
class data_block
: public tape_block
{
- //private:
- //data_block(); // Private constructor!
-
+private:
+ data_block();
+
public:
- data_block(tape_block&);
+ data_block(tape_block&);
~data_block();
-
-virtual int get_type();
-virtual int get_subtype();
-
+
+ virtual int get_type();
+ virtual int get_subtype();
+ int get_word_size();
+ //protected:
+ string extract_string(int startbyte);
};