17c8628503aefc44970f8d79a979a40592d69db8
[h316.git] / pc-tools / ldc2 / src / broken_block.cpp
1
2 #include "broken_block.hh"
3
4 using namespace std;
5
6 /*!
7 *\brief Specialisation constructor.
8 */
9 broken_block::broken_block(tape_block& org)
10 :tape_block(org)
11 {
12 block_type=TBT_BROKEN;
13 }
14
15 /*!
16 *\brief Describe the block.
17 *\return A vector of text lines describing this block.
18 */
19 vector<string> broken_block::get_description(){
20 vector<string> result;
21 string r_string="********* (B-B) Broken block";
22 result.insert(result.end(),r_string);
23 return result;
24 }
25
26 /*!
27 *\brief Determine if the block marks the end of an object
28 *\retval true The block marks the end of an object.
29 *\retval false The block does not mark the end of an object.
30 */
31 bool broken_block::get_obj_end(){
32 return false;
33 }
34