Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

type.C

Go to the documentation of this file.
00001 
00002 #include "type.h"
00003 #include "sym.h"
00004 
00005 pSym type_record::find_elem( STRING name ) 
00006 {
00007   FIFO_LIST<pSym>::handle h;
00008   pSym elem_sym;
00009   pSym tmp;
00010         
00011   elem_sym = NULL;
00012   for (h = elem_list.first(); h != NULL; h = elem_list.next( h )) {
00013     tmp = elem_list.get_item( h );
00014     if (tmp->get_name().GetText() == name.GetText()) {
00015       elem_sym = tmp;
00016       break;
00017     }
00018   }
00019   return elem_sym;
00020 } // find_elem

Generated on Wed Mar 31 21:15:55 2004 for Data Structures for a VHDL Compiler by doxygen 1.3.3