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:
733 bytes
|
Rev | Line | |
---|
[20] | 1 | #ifndef morpheo_tools_viewer_bdd_Entity_h |
---|
| 2 | #define morpheo_tools_viewer_bdd_Entity_h |
---|
| 3 | |
---|
| 4 | #include <iostream> |
---|
| 5 | #include <list> |
---|
| 6 | #include <iterator> |
---|
| 7 | #include "Tools/Viewer/Bdd/include/ListePorts.h" |
---|
| 8 | #include <qlist.h> |
---|
| 9 | |
---|
| 10 | using namespace std; |
---|
| 11 | namespace morpheo{ |
---|
| 12 | namespace tools{ |
---|
| 13 | namespace viewer{ |
---|
| 14 | namespace bdd{ |
---|
| 15 | |
---|
| 16 | class Entity:public ListePorts |
---|
| 17 | { |
---|
| 18 | private: |
---|
| 19 | string name; |
---|
| 20 | string type; |
---|
| 21 | string comment; |
---|
| 22 | |
---|
| 23 | int schema; |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | protected: |
---|
| 27 | |
---|
| 28 | public: |
---|
| 29 | Entity(string n,int l); |
---|
| 30 | ~Entity(); |
---|
| 31 | string getComment(); |
---|
| 32 | string getName(); |
---|
| 33 | void setComment(string s); |
---|
| 34 | int getSchema(); |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | };//end class Entity |
---|
| 39 | |
---|
| 40 | };//end bdd |
---|
| 41 | };//end viewer |
---|
| 42 | };//end tools |
---|
| 43 | };//end morpheo |
---|
| 44 | |
---|
| 45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.