- if ((init_state==TBS_OK)&&word_size&&(data_block::get_type()==0)){
- return (word_data[0]&0x0fc0)>>6;
- }
- else return data_block::get_subtype();
+ return (word_data[0]&0x0fc0)>>6;
+}
+
+/*!
+ *\brief Describe the block.
+ *\return A vector of text lines describing this block.
+ */
+vector<string> data_block_0::get_description(){
+ vector<string> result;
+ char buffer[150];
+ sprintf(buffer," (0-%02o) Type 0 data block, unknown\
+ subtype, this is an illegal condition!",get_subtype());
+ string r_string=buffer;
+ result.insert(result.end(),r_string);
+ return result;