Last change
on this file since 99 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:
877 bytes
|
Rev | Line | |
---|
[20] | 1 | /* |
---|
| 2 | * |
---|
| 3 | * [desc.] |
---|
| 4 | */ |
---|
| 5 | #include "Tools/Viewer/Bdd/include/BaseP.h" |
---|
| 6 | |
---|
| 7 | namespace morpheo{ |
---|
| 8 | namespace tools{ |
---|
| 9 | namespace viewer{ |
---|
| 10 | namespace bdd{ |
---|
| 11 | |
---|
| 12 | void BaseP::setComment(string s){ |
---|
| 13 | comment=s; |
---|
| 14 | } |
---|
[26] | 15 | void BaseP::setLevel(int s){ |
---|
| 16 | level=s; |
---|
| 17 | } |
---|
| 18 | |
---|
[20] | 19 | void BaseP::setArchitecture(Architecture *a) |
---|
| 20 | { |
---|
| 21 | archi=a; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | void BaseP::setEntity(Entity *e) |
---|
| 25 | { |
---|
| 26 | ent=e; |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | morpheo::tools::viewer::bdd::Entity *BaseP::getEntity(){ |
---|
| 30 | return ent; |
---|
| 31 | } |
---|
| 32 | |
---|
| 33 | morpheo::tools::viewer::bdd::Architecture *BaseP::getArchitecture(){ |
---|
| 34 | return archi; |
---|
| 35 | } |
---|
| 36 | |
---|
| 37 | string BaseP::getComment() |
---|
| 38 | { |
---|
| 39 | return comment; |
---|
| 40 | } |
---|
[26] | 41 | int BaseP::getLevel() |
---|
| 42 | { |
---|
| 43 | return level; |
---|
| 44 | } |
---|
[20] | 45 | |
---|
| 46 | QList<morpheo::tools::viewer::bdd::Component> *BaseP::getComponent() |
---|
| 47 | { |
---|
| 48 | return archi->getComponent(); |
---|
| 49 | } |
---|
| 50 | |
---|
[30] | 51 | int BaseP::getSchema(){return ent->getSchema();} |
---|
[20] | 52 | };//end bdd |
---|
| 53 | };//end viewer |
---|
| 54 | };//end tools |
---|
| 55 | };//end morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.