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