| 1 | #include <string> |
| 2 | #include <vector> |
| 3 | |
| 4 | #include "eot_block.hh" |
| 5 | #include "tape_block.hh" |
| 6 | |
| 7 | using namespace std; |
| 8 | |
| 9 | /***************************************************************/ |
| 10 | /*! |
| 11 | *\brief Copy constructor. |
| 12 | */ |
| 13 | eot_block::eot_block(eot_block & org){ |
| 14 | operator=(org); |
| 15 | m_has_known_type=true; |
| 16 | } |
| 17 | |
| 18 | /***************************************************************/ |
| 19 | /*! |
| 20 | *\brief Get a cleartext description of the block. |
| 21 | *\return ldc style descriptive line for the block |
| 22 | */ |
| 23 | vector<string> eot_block:: get_description(){ |
| 24 | vector<string> result; |
| 25 | string r_string="***********(EOT)*****End of Tape mark **********************"; |
| 26 | result.insert(result.end(),r_string); |
| 27 | return result; |
| 28 | } |
| 29 | |
| 30 | /***************************************************************/ |
| 31 | /*! |
| 32 | *\brief Specialisation constructor |
| 33 | */ |
| 34 | eot_block::eot_block(tape_block & org) |
| 35 | : tape_block(org) |
| 36 | {} |
| 37 | |
| 38 | /***************************************************************/ |
| 39 | /*! |
| 40 | *\brief Default constructor. |
| 41 | */ |
| 42 | eot_block::eot_block(){} |