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:
922 bytes
|
Rev | Line | |
---|
[20] | 1 | #ifndef morpheo_tools_viewer_bdd_Portmap_h |
---|
| 2 | #define morpheo_tools_viewer_bdd_Portmap_h |
---|
| 3 | |
---|
| 4 | #include <iostream> |
---|
| 5 | |
---|
| 6 | using namespace std; |
---|
| 7 | namespace morpheo{ |
---|
| 8 | namespace tools{ |
---|
| 9 | namespace viewer{ |
---|
| 10 | namespace bdd{ |
---|
| 11 | |
---|
| 12 | class PortMap |
---|
| 13 | { |
---|
| 14 | private: |
---|
| 15 | string comment; |
---|
| 16 | string name; |
---|
| 17 | //morpheo::tools::viewer::bdd::Port *port; |
---|
| 18 | //morpheo::tools::viewer::bdd::Component *compo; |
---|
| 19 | string component; |
---|
| 20 | string port; |
---|
| 21 | |
---|
| 22 | protected: |
---|
| 23 | |
---|
| 24 | public: |
---|
| 25 | |
---|
| 26 | string getComment(); |
---|
| 27 | string getName(); |
---|
| 28 | string getComponent(); |
---|
| 29 | string getPort(); |
---|
| 30 | void setComment(string s); |
---|
| 31 | PortMap(string n,string c,string p); |
---|
| 32 | PortMap(PortMap *p); |
---|
| 33 | //void addcomposant(morpheo::tools::viewer::bdd::Component *c); |
---|
| 34 | //void addport(morpheo::tools::viewer::bdd::Port *p); |
---|
| 35 | ~PortMap(); |
---|
| 36 | };//end class PortMap |
---|
| 37 | |
---|
| 38 | };//end bdd |
---|
| 39 | };//end viewer |
---|
| 40 | };//end tools |
---|
| 41 | };//end morpheo |
---|
| 42 | |
---|
| 43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.