4 #include "tape_block.hh"
5 #include "discard_block.hh"
10 /***************************************************************/
12 *\brief Copy constructor.
14 discard_block::discard_block(discard_block
& org
){
18 /***************************************************************/
20 *\brief Get a cleartext description of the block.
21 *\return ldc style descriptive line for the block
23 vector
<string
> discard_block::get_description(){
27 r_string
="***** (X-XX) Discard block, init_status OK,\
28 this is an illegal condition!";
31 r_string
=" (EOF) Legal EOF";
34 r_string
=" (EOF) Illegal EOF while in block!";
37 r_string
=" (CHK) Checksum error in Block!";
40 r_string
=" (IOE) IO-Error during initialisation!";
43 r_string
="***** (X-XX) Discard block, init_status not set,\
44 this is an illegal condition!";
47 r_string
="***** (X-XX) Discard block, init_status unknown,\
48 this is an illegal condition!";
51 vector
<string
> result
;
52 result
.insert(result
.end(),r_string
);
56 /***************************************************************/
58 *\brief Specialisation constructor
60 discard_block::discard_block(tape_block
& org
)
65 /***************************************************************/
67 *\brief Default constructor.
69 discard_block::discard_block(){}