source: trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Bdd/src/BaseP_accessors.cpp

Last change on this file 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: 877 bytes
Line 
1/*
2 *
3 * [desc.]
4 */
5#include "Tools/Viewer/Bdd/include/BaseP.h"
6
7namespace morpheo{
8namespace tools{
9namespace viewer{
10namespace bdd{     
11 
12  void BaseP::setComment(string s){
13    comment=s;
14  }
15  void BaseP::setLevel(int s){
16    level=s;
17  }
18 
19  void BaseP::setArchitecture(Architecture *a)
20  {
21    archi=a;
22  }
23
24  void BaseP::setEntity(Entity *e)
25  {
26    ent=e;
27  }
28
29  morpheo::tools::viewer::bdd::Entity *BaseP::getEntity(){
30    return ent;
31  }
32
33  morpheo::tools::viewer::bdd::Architecture *BaseP::getArchitecture(){
34    return archi;
35  }
36
37  string BaseP::getComment()
38  {
39    return comment;
40  }
41  int BaseP::getLevel()
42  {
43    return level;
44  }
45
46    QList<morpheo::tools::viewer::bdd::Component> *BaseP::getComponent()
47  {
48    return archi->getComponent();
49  }
50
51  int BaseP::getSchema(){return ent->getSchema();}
52};//end bdd
53};//end viewer
54};//end tools
55};//end morpheo
Note: See TracBrowser for help on using the repository browser.