cd8310e0e17ab68e071e6550945aec56a3ba6952
[h316.git] / pc-tools / ldc2 / src / data_block_7.cpp
1 /******************************************************************************
2 *
3 *
4 * LDC2 source code
5 *
6 * Date: $DATE$
7 * Author: $Author: hachti $
8 *
9 *
10 ******************************************************************************/
11
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)
19 {
20 m_has_known_type=false;
21 }
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;
29 result.insert(result.end(),extract_label(3)+" "+
30 get_typestring()+"Reference to Item In Common");
31 return result;
32 }
33
34 /******************************************************************************/
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;
42 string rs=extract_label(3);
43 if (rs!=" ") result.insert(result.end(),rs);
44 return result;
45 }