X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=pc-tools%2Fldc2%2Fsrc%2Fbroken_block.cpp;fp=pc-tools%2Fldc2%2Fsrc%2Fbroken_block.cpp;h=17c8628503aefc44970f8d79a979a40592d69db8;hb=7880ae2dd0ed55ec671be0fc449487420a126626;hp=0000000000000000000000000000000000000000;hpb=ea4c19a49ff6621c58e0c4bba5ab5d271a3604c8;p=h316.git diff --git a/pc-tools/ldc2/src/broken_block.cpp b/pc-tools/ldc2/src/broken_block.cpp new file mode 100644 index 0000000..17c8628 --- /dev/null +++ b/pc-tools/ldc2/src/broken_block.cpp @@ -0,0 +1,34 @@ + +#include "broken_block.hh" + +using namespace std; + +/*! + *\brief Specialisation constructor. + */ +broken_block::broken_block(tape_block& org) + :tape_block(org) +{ + block_type=TBT_BROKEN; +} + +/*! + *\brief Describe the block. + *\return A vector of text lines describing this block. + */ +vector broken_block::get_description(){ + vector result; + string r_string="********* (B-B) Broken block"; + result.insert(result.end(),r_string); + return result; +} + +/*! + *\brief Determine if the block marks the end of an object + *\retval true The block marks the end of an object. + *\retval false The block does not mark the end of an object. + */ +bool broken_block::get_obj_end(){ + return false; +} +