| 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 | } |
| 16 | |
| 17 | /***************************************************************/ |
| 18 | /*! |
| 19 | *\brief Get a cleartext description of the block. |
| 20 | *\return ldc style descriptive line for the block |
| 21 | */ |
| 22 | vector<string> eot_block:: get_description(){ |
| 23 | vector<string> result; |
| 24 | string r_string="***********(EOT)*****End of Tape mark **********************"; |
| 25 | result.insert(result.end(),r_string); |
| 26 | return result; |
| 27 | } |
| 28 | |
| 29 | /***************************************************************/ |
| 30 | /*! |
| 31 | *\brief Specialisation constructor |
| 32 | */ |
| 33 | eot_block::eot_block(tape_block & org) |
| 34 | : tape_block(org) |
| 35 | {} |
| 36 | |
| 37 | /***************************************************************/ |
| 38 | /*! |
| 39 | *\brief Default constructor. |
| 40 | */ |
| 41 | eot_block::eot_block(){} |