Last change
on this file since 48 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:
626 bytes
|
Line | |
---|
1 | /* |
---|
2 | * |
---|
3 | * [desc.] |
---|
4 | */ |
---|
5 | #include "Tools/Viewer/Bdd/include/Port.h" |
---|
6 | |
---|
7 | namespace morpheo{ |
---|
8 | namespace tools{ |
---|
9 | namespace viewer{ |
---|
10 | namespace bdd{ |
---|
11 | |
---|
12 | void Port::setComment(string s){ |
---|
13 | comment=s; |
---|
14 | } |
---|
15 | |
---|
16 | |
---|
17 | string Port::getComment(){ return comment;} |
---|
18 | string Port::getName(){ return name;} |
---|
19 | |
---|
20 | int Port::get_x(){return pos_x;} |
---|
21 | int Port::get_y(){return pos_y;} |
---|
22 | |
---|
23 | void Port::set_x(int v){pos_x=v;} |
---|
24 | void Port::set_y(int v){pos_y=v;} |
---|
25 | |
---|
26 | string Port::getLocalisation(){ |
---|
27 | return localisation; |
---|
28 | } |
---|
29 | |
---|
30 | string Port::getDirection(){ |
---|
31 | return direction; |
---|
32 | } |
---|
33 | |
---|
34 | };//end bdd |
---|
35 | };//end viewer |
---|
36 | };//end tools |
---|
37 | };//end morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.