source: trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Bdd/src/Architecture_searchComponent.cpp @ 146

Last change on this file since 146 was 81, checked in by rosiere, 16 years ago
  • Finish Environment (and test)
  • Continue predictor_unit
  • Add external tools
  • svn keyword "Id" set
  • Property svn:keywords set to Id
File size: 440 bytes
Line 
1/*
2 *
3 * [desc.]
4 */
5#include "Tools/Viewer/Bdd/include/Architecture.h"
6
7namespace morpheo{
8namespace tools{
9namespace viewer{
10namespace bdd{     
11
12  morpheo::tools::viewer::bdd::Component Architecture::getComponent(string v){
13    int index=listcomp->indexOf(v,0);
14    if(index!=-1)
15      return components->operator[](index);
16    else
17      return Component(NULL,NULL,0,0,0,0);
18  }
19};//end bdd
20};//end viewer
21};//end tools
22};//end morpheo
Note: See TracBrowser for help on using the repository browser.