X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=pc-tools%2Fldc2%2Fsrc%2Fdiscard_block.cpp;fp=pc-tools%2Fldc2%2Fsrc%2Fdiscard_block.cpp;h=0000000000000000000000000000000000000000;hb=7880ae2dd0ed55ec671be0fc449487420a126626;hp=a854a49b8c8df7600274e5515dc81a42b290511f;hpb=ea4c19a49ff6621c58e0c4bba5ab5d271a3604c8;p=h316.git diff --git a/pc-tools/ldc2/src/discard_block.cpp b/pc-tools/ldc2/src/discard_block.cpp deleted file mode 100644 index a854a49..0000000 --- a/pc-tools/ldc2/src/discard_block.cpp +++ /dev/null @@ -1,69 +0,0 @@ -#include -#include - -#include "tape_block.hh" -#include "discard_block.hh" - - -using namespace std; - -/***************************************************************/ -/*! - *\brief Copy constructor. - */ -discard_block::discard_block(discard_block & org){ - operator=(org); -} - -/***************************************************************/ -/*! - *\brief Get a cleartext description of the block. - *\return ldc style descriptive line for the block - */ -vector discard_block::get_description(){ - string r_string; - switch(init_state){ - case TBS_OK: - r_string="***** (X-XX) Discard block, init_status OK,\ - this is an illegal condition!"; - break; - case TBS_EOF_LEGAL: - r_string=" (EOF) Legal EOF"; - break; - case TBS_EOF_ILLEGAL: - r_string=" (EOF) Illegal EOF while in block!"; - break; - case TBS_CHECKSUM: - r_string=" (CHK) Checksum error in Block!"; - break; - case TBS_IOERR: - r_string=" (IOE) IO-Error during initialisation!"; - break; - case TBS_DEFAULT: - r_string="***** (X-XX) Discard block, init_status not set,\ - this is an illegal condition!"; - break; - default: - r_string="***** (X-XX) Discard block, init_status unknown,\ - this is an illegal condition!"; - break; - } - vector result; - result.insert(result.end(),r_string); - return result; -} - -/***************************************************************/ -/*! - *\brief Specialisation constructor - */ -discard_block::discard_block(tape_block & org) - : tape_block(org) -{ -} - -/***************************************************************/ -/*! - *\brief Default constructor. - */ -discard_block::discard_block(){}