Last change
on this file since 101 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:
861 bytes
|
Line | |
---|
1 | /* |
---|
2 | * |
---|
3 | * [desc.] |
---|
4 | */ |
---|
5 | #include "Tools/Viewer/Bdd/include/BaseV.h" |
---|
6 | |
---|
7 | namespace morpheo{ |
---|
8 | namespace tools{ |
---|
9 | namespace viewer{ |
---|
10 | namespace bdd{ |
---|
11 | |
---|
12 | void BaseV::setComment(string s){ |
---|
13 | comment=s; |
---|
14 | } |
---|
15 | |
---|
16 | QList <BaseP> *BaseV::getBaseP() |
---|
17 | { |
---|
18 | return pos; |
---|
19 | } |
---|
20 | |
---|
21 | QList<morpheo::tools::viewer::bdd::Group> *BaseV::getGroups() |
---|
22 | { |
---|
23 | return groups; |
---|
24 | } |
---|
25 | |
---|
26 | QList<morpheo::tools::viewer::bdd::LimitParam> BaseV::getLimitParam() |
---|
27 | { |
---|
28 | return limitp->values(); |
---|
29 | } |
---|
30 | |
---|
31 | string BaseV::getLinksrc(string name) |
---|
32 | { |
---|
33 | return link_src->value(name); |
---|
34 | } |
---|
35 | string BaseV::getLinkdest(string name) |
---|
36 | { |
---|
37 | return link_dest->value(name); |
---|
38 | } |
---|
39 | |
---|
40 | int BaseV::nbGroup(string namegroup) |
---|
41 | { |
---|
42 | int i=0,j=0, res=-1; |
---|
43 | while (i!=-1) |
---|
44 | { |
---|
45 | i=listgroup->indexOf(namegroup,j); |
---|
46 | j=i+1; |
---|
47 | res++; |
---|
48 | } |
---|
49 | return res; |
---|
50 | } |
---|
51 | |
---|
52 | };//end bdd |
---|
53 | };//end viewer |
---|
54 | };//end tools |
---|
55 | };//end morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.