Last change
on this file since 93 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:
926 bytes
|
Line | |
---|
1 | #ifndef morpheo_tools_viewer_bdd_Port_h |
---|
2 | #define morpheo_tools_viewer_bdd_Port_h |
---|
3 | |
---|
4 | #include <iostream> |
---|
5 | //enum Mydirection={"in","out","inout"}d; |
---|
6 | //enum Mylocalisation={"north","south","east","west"}l; |
---|
7 | |
---|
8 | |
---|
9 | using namespace std; |
---|
10 | namespace morpheo{ |
---|
11 | namespace tools{ |
---|
12 | namespace viewer{ |
---|
13 | namespace bdd{ |
---|
14 | |
---|
15 | class Port |
---|
16 | { |
---|
17 | private: |
---|
18 | string comment; |
---|
19 | string name; |
---|
20 | int pos_x; |
---|
21 | int pos_y; |
---|
22 | string direction; |
---|
23 | string localisation; |
---|
24 | protected: |
---|
25 | |
---|
26 | public: |
---|
27 | int get_x();//LONGUEUR EN LONG |
---|
28 | int get_y();//LONGUEUR EN LARGE |
---|
29 | void set_x(int v); |
---|
30 | void set_y(int v); |
---|
31 | string getComment(); |
---|
32 | string getName(); |
---|
33 | string getDirection(); |
---|
34 | string getLocalisation(); |
---|
35 | Port(string n,string d,string l); |
---|
36 | Port(Port *p); |
---|
37 | ~Port(); |
---|
38 | void setComment(string s); |
---|
39 | };//end class Port |
---|
40 | |
---|
41 | };//end bdd |
---|
42 | };//end viewer |
---|
43 | };//end tools |
---|
44 | };//end morpheo |
---|
45 | |
---|
46 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.