5fc41eec639061c39919734ac8ed86ffe7a86e2d
[h316.git] / pc-tools / ldc2 / src / data_block_0_0.cpp
1 #include "data_block_0_0.hh"
2
3 #include <stdio.h>
4
5 /*!
6 *\brief Specialisation constructor.
7 */
8 data_block_0_0::data_block_0_0(data_block_0 & org)
9 :data_block_0_label_extractor(org)
10 {}
11
12 /*!
13 *\brief Describe the block.
14 *\return A vector of text lines describing this block.
15 */
16 vector<string> data_block_0_0::get_description(){
17 vector<string> result;
18 vector<string> labels=get_labels();
19 for (unsigned int i=0; i<labels.size();i++){
20 if (i==0) result.insert(result.end(),
21 labels[i]+" "+get_typestring()+"Subprogram Name");
22 else
23 result.insert(result.end(),
24 labels[i]+" "+get_typestring() +" \" \"");
25 }
26 return result;
27 }
28