-#ifndef DATA_BLOCK_HH
-#define DATA_BLOCK_HH
+#ifndef DATA_BLOCK_H
+#define DATA_BLOCK_H
+
+#include<vector>
+#include<string>
#include "tape_block.hh"
+using namespace std;
+
+/*!
+ * Class representating a data tape block.
+ */
class data_block
: public tape_block
{
- //private:
- //data_block(); // Private constructor!
-
-public:
- data_block(tape_block&);
- ~data_block();
-
-virtual int get_type();
-virtual int get_subtype();
+ friend tape_block * tape_block::gen_from_fd(int,void(*)(void*),
+ void(*)(void*),void*);
+private:
+ data_block(tape_block&);
+public:
+ int get_type();
+ int get_word_size();
+ virtual vector<string> get_description();
+protected:
+ string extract_label(int);
};