Last change
on this file since 22 was
20,
checked in by chou, 17 years ago
|
1ere release du Viewer :
- Parseur xml sur Base de données
- Chargement d'un fichier de positions
- Dessin du top-level
- Dessin des ports du top level
- Dessin des sous composants
- Dessin des ports de ces sous composants
les valeurs de positions et de taille sont en %.
|
File size:
726 bytes
|
Line | |
---|
1 | /* |
---|
2 | * |
---|
3 | * [desc.] |
---|
4 | */ |
---|
5 | #include "Tools/Viewer/Bdd/include/BaseP.h" |
---|
6 | |
---|
7 | namespace morpheo{ |
---|
8 | namespace tools{ |
---|
9 | namespace viewer{ |
---|
10 | namespace bdd{ |
---|
11 | |
---|
12 | void BaseP::setComment(string s){ |
---|
13 | comment=s; |
---|
14 | } |
---|
15 | void BaseP::setArchitecture(Architecture *a) |
---|
16 | { |
---|
17 | archi=a; |
---|
18 | } |
---|
19 | |
---|
20 | void BaseP::setEntity(Entity *e) |
---|
21 | { |
---|
22 | ent=e; |
---|
23 | } |
---|
24 | |
---|
25 | morpheo::tools::viewer::bdd::Entity *BaseP::getEntity(){ |
---|
26 | return ent; |
---|
27 | } |
---|
28 | |
---|
29 | morpheo::tools::viewer::bdd::Architecture *BaseP::getArchitecture(){ |
---|
30 | return archi; |
---|
31 | } |
---|
32 | |
---|
33 | string BaseP::getComment() |
---|
34 | { |
---|
35 | return comment; |
---|
36 | } |
---|
37 | |
---|
38 | QList<morpheo::tools::viewer::bdd::Component> *BaseP::getComponent() |
---|
39 | { |
---|
40 | return archi->getComponent(); |
---|
41 | } |
---|
42 | |
---|
43 | };//end bdd |
---|
44 | };//end viewer |
---|
45 | };//end tools |
---|
46 | };//end morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.