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