121ed2d0fed739df53dae3469a23fdb013e93f35
[h316.git] / pc-tools / ldc2 / src / data_block_7.cpp
1 $Header: /var/lib/cvs/h316/pc-tools/ldc2/src/data_block_7.cpp,v 1.6 2007/03/26 00:45:12 hachti Exp $
2
3 #include "data_block_7.hh"
4
5 /*!
6 *\brief Specialisation constructor.
7 */
8 data_block_7::data_block_7(data_block & org)
9 :data_block(org)
10 {
11 m_has_known_type=false;
12 }
13
14 /*!
15 *\brief Describe the block.
16 *\return A vector of text lines describing this block.
17 */
18 vector<string> data_block_7::get_description(){
19 vector<string> result;
20 result.insert(result.end(),extract_label(3)+" "+
21 get_typestring()+"Reference to Item In Common");
22 return result;
23 }
24
25 /******************************************************************************/
26 /*!
27 *\brief Get called symbols.
28 *\return A vector containing the symbol names exported by this
29 * block.
30 */
31 vector<string> data_block_7::get_called_symbols(){
32 vector<string> result;
33 string rs=extract_label(3);
34 if (rs!=" ") result.insert(result.end(),rs);
35 return result;
36 }