| 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 | m_has_known_type=false; |
| 12 | } |
| 13 | |
| 14 | |
| 15 | /*! |
| 16 | *\brief Describe the block. |
| 17 | *\return A vector of text lines describing this block. |
| 18 | */ |
| 19 | vector<string> data_block_0_0::get_description(){ |
| 20 | vector<string> result; |
| 21 | vector<string> labels=get_labels(); |
| 22 | for (unsigned int i=0; i<labels.size();i++){ |
| 23 | if (i==0) result.insert(result.end(), |
| 24 | labels[i]+" "+get_typestring()+"Subprogram Name"); |
| 25 | else |
| 26 | result.insert(result.end(), |
| 27 | labels[i]+" "+get_typestring() +" \" \""); |
| 28 | } |
| 29 | return result; |
| 30 | } |
| 31 | |
| 32 | /***************************************************************/ |
| 33 | /*! |
| 34 | *\brief Get exported symbols. |
| 35 | *\return A vector containing the symbol names exported by this |
| 36 | * block. |
| 37 | */ |
| 38 | vector<string> data_block_0_0::get_exported_symbols(){ |
| 39 | return get_labels(); |
| 40 | } |
| 41 | |