59c8adcf |
1 | /****************************************************************************** |
2 | * |
3 | * |
4 | * LDC2 source code |
5 | * |
6 | * Date: $DATE$ |
7 | * Author: $Author: hachti $ |
8 | * |
9 | * |
10 | ******************************************************************************/ |
11 | |
798b0c1d |
12 | #include "data_block_7.hh" |
13 | |
14 | /*! |
15 | *\brief Specialisation constructor. |
16 | */ |
17 | data_block_7::data_block_7(data_block & org) |
18 | :data_block(org) |
874a2bd8 |
19 | { |
20 | m_has_known_type=false; |
21 | } |
798b0c1d |
22 | |
23 | /*! |
24 | *\brief Describe the block. |
25 | *\return A vector of text lines describing this block. |
26 | */ |
27 | vector<string> data_block_7::get_description(){ |
28 | vector<string> result; |
59c8adcf |
29 | result.insert(result.end(),extract_label(3)+" "+ |
30 | get_typestring()+"Reference to Item In Common"); |
798b0c1d |
31 | return result; |
32 | } |
33 | |
59c8adcf |
34 | /******************************************************************************/ |
874a2bd8 |
35 | /*! |
36 | *\brief Get called symbols. |
37 | *\return A vector containing the symbol names exported by this |
38 | * block. |
39 | */ |
40 | vector<string> data_block_7::get_called_symbols(){ |
41 | vector<string> result; |
59c8adcf |
42 | string rs=extract_label(3); |
43 | if (rs!=" ") result.insert(result.end(),rs); |
874a2bd8 |
44 | return result; |
45 | } |