Last change
on this file since 73 was
32,
checked in by chou, 17 years ago
|
Morpheo Viewer Release 5.0
Réalisation des étapes 3 (fin) et 4.
|
File size:
943 bytes
|
Rev | Line | |
---|
[32] | 1 | #ifndef morpheo_tools_viewer_bdd_LimitParam_h |
---|
| 2 | #define morpheo_tools_viewer_bdd_LimitParam_h |
---|
| 3 | |
---|
| 4 | #include <iostream> |
---|
| 5 | #include <iterator> |
---|
| 6 | |
---|
| 7 | using namespace std; |
---|
| 8 | namespace morpheo{ |
---|
| 9 | namespace tools{ |
---|
| 10 | namespace viewer{ |
---|
| 11 | namespace bdd{ |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | class LimitParam |
---|
| 15 | { |
---|
| 16 | private: |
---|
| 17 | string name; |
---|
| 18 | int min; |
---|
| 19 | int max; |
---|
| 20 | string step; |
---|
| 21 | int defaut; |
---|
| 22 | int level; |
---|
| 23 | string group; |
---|
| 24 | |
---|
| 25 | protected: |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | public: |
---|
| 29 | /*alloc parameters list*/ |
---|
| 30 | LimitParam(string na,int mn,int mx,string sp,int de,int lvl); |
---|
| 31 | LimitParam(); |
---|
| 32 | LimitParam(LimitParam *l); |
---|
| 33 | /*unalloc parameters list*/ |
---|
| 34 | ~LimitParam(); |
---|
| 35 | /*accessors*/ |
---|
| 36 | string getName(); |
---|
| 37 | int getMin(); |
---|
| 38 | int getMax(); |
---|
| 39 | string getStep(); |
---|
| 40 | int getDefault(); |
---|
| 41 | int getLevel(); |
---|
| 42 | void setGroup(string s); |
---|
| 43 | string getGroup(); |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | };//end class LimitParam |
---|
| 47 | |
---|
| 48 | };//end bdd |
---|
| 49 | };//end viewer |
---|
| 50 | };//end tools |
---|
| 51 | };//end morpheo |
---|
| 52 | |
---|
| 53 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.