4741aa72 |
1 | /****************************************************************************** |
2 | * |
3 | * LDC2 source code |
4 | * |
5 | * $Date: 2007/03/26 01:00:40 $ |
6 | * $Author: hachti $ |
7 | * |
8 | * $Log: eot_block.cpp,v $ |
9 | * Revision 2.0 2007/03/26 01:00:40 hachti |
10 | * *** empty log message *** |
11 | * |
12 | * |
13 | ******************************************************************************/ |
14 | |
09cb0f4f |
15 | #include <string> |
16 | #include <vector> |
17 | |
18 | #include "eot_block.hh" |
19 | #include "tape_block.hh" |
20 | |
21 | using namespace std; |
22 | |
23 | /***************************************************************/ |
24 | /*! |
25 | *\brief Copy constructor. |
26 | */ |
27 | eot_block::eot_block(eot_block & org){ |
28 | operator=(org); |
874a2bd8 |
29 | m_has_known_type=true; |
09cb0f4f |
30 | } |
31 | |
32 | /***************************************************************/ |
33 | /*! |
34 | *\brief Get a cleartext description of the block. |
35 | *\return ldc style descriptive line for the block |
36 | */ |
37 | vector<string> eot_block:: get_description(){ |
38 | vector<string> result; |
ad324d29 |
39 | string r_string="***********(EOT)*****End of Tape mark **********************"; |
09cb0f4f |
40 | result.insert(result.end(),r_string); |
41 | return result; |
42 | } |
43 | |
44 | /***************************************************************/ |
45 | /*! |
46 | *\brief Specialisation constructor |
47 | */ |
48 | eot_block::eot_block(tape_block & org) |
49 | : tape_block(org) |
50 | {} |
51 | |
52 | /***************************************************************/ |
53 | /*! |
54 | *\brief Default constructor. |
55 | */ |
56 | eot_block::eot_block(){} |