+/******************************************************************************
+ *
+ * LDC2 source code
+ *
+ * $Date: 2007/03/26 01:00:38 $
+ * $Author: hachti $
+ *
+ * $Log: data_block.cpp,v $
+ * Revision 2.0 2007/03/26 01:00:38 hachti
+ * *** empty log message ***
+ *
+ *
+ ******************************************************************************/
+
#include <stdlib.h>
#include <string.h>
using namespace std;
+/***************************************************************/
/*!
*\brief Specialisation constructor.
*/
data_block::data_block(tape_block& org)
:tape_block(org)
-{}
+{
+ m_has_known_type=false;
+}
+/***************************************************************/
/*!
*\brief Determine block type.
*\return the block type extracted from the block's data.
return (word_data[0]&0xf000)>>12;
}
+/***************************************************************/
/*!
*\brief Get the block's size in 16 bit words.
*\return The block's 16-bit data buffer's size including
return word_size;
}
+/***************************************************************/
/*!
*\brief Describe the block.
*\return A vector of text lines describing this block.
return result;
}
-/*!
- *\brief Determine if the block marks the end of an object
- *\retval true The block marks the end of an object.
- *\retval false The block does not mark the end of an object.
- */
-bool data_block::get_obj_end(){
- return false;
-}
-
+/***************************************************************/
/*!
*\brief Extract 6 byte symbol name from word memory.
*
return result;
}
+
+
+
+