Last change
on this file since 136 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:
482 bytes
|
Rev | Line | |
---|
[20] | 1 | /* |
---|
| 2 | * |
---|
| 3 | * [desc.] |
---|
| 4 | */ |
---|
| 5 | #include "Tools/Viewer/Bdd/include/ListePorts.h" |
---|
| 6 | |
---|
| 7 | namespace morpheo{ |
---|
| 8 | namespace tools{ |
---|
| 9 | namespace viewer{ |
---|
| 10 | namespace bdd{ |
---|
| 11 | |
---|
| 12 | int ListePorts::countPort(string loc) |
---|
| 13 | { |
---|
| 14 | int count=0; |
---|
| 15 | |
---|
| 16 | for(QList<morpheo::tools::viewer::bdd::Port>::iterator it \ |
---|
| 17 | = ports->begin();it!=ports->end();++it) |
---|
| 18 | { |
---|
| 19 | if( !strcmp(loc.c_str(),it->getLocalisation().c_str())) |
---|
| 20 | count++; |
---|
| 21 | } |
---|
| 22 | return count; |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | };//end bdd |
---|
| 26 | };//end viewer |
---|
| 27 | };//end tools |
---|
| 28 | };//end morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.