Last change
on this file since 58 was
32,
checked in by chou, 17 years ago
|
Morpheo Viewer Release 5.0
Réalisation des étapes 3 (fin) et 4.
|
File size:
1.2 KB
|
Line | |
---|
1 | /* |
---|
2 | * |
---|
3 | * [BaseV_afficheParamConsole] |
---|
4 | * debug : show contents of configuration file in memory |
---|
5 | */ |
---|
6 | #include "Tools/Viewer/Bdd/include/BaseV.h" |
---|
7 | |
---|
8 | namespace morpheo{ |
---|
9 | namespace tools{ |
---|
10 | namespace viewer{ |
---|
11 | namespace bdd{ |
---|
12 | void BaseV::afficheParamConsole(){ |
---|
13 | string tab; |
---|
14 | int i; |
---|
15 | QList<morpheo::tools::viewer::bdd::Param> p; |
---|
16 | for(QList<morpheo::tools::viewer::bdd::Group>::iterator it=groups->begin();it!=groups->end();++it) |
---|
17 | { |
---|
18 | tab=" "; |
---|
19 | cout << "-------------- Group ------------------" << endl; |
---|
20 | if(it->getLevel()!=0) |
---|
21 | { |
---|
22 | for(i=0;i<it->getLevel();i++) |
---|
23 | { |
---|
24 | tab.append(" "); |
---|
25 | } |
---|
26 | } |
---|
27 | cout <<tab<<"name :" << it->getName() <<endl; |
---|
28 | cout <<tab<< "level :" << it->getLevel() <<endl; |
---|
29 | cout <<tab<< " ---------paramS------------" <<endl ; |
---|
30 | |
---|
31 | p=it->getParam(); |
---|
32 | for(QList<morpheo::tools::viewer::bdd::Param>::iterator it2=p.begin();it2!=p.end();++it2) |
---|
33 | { |
---|
34 | cout <<tab<< " ---------param------------" <<endl ; |
---|
35 | cout <<tab<<"name :" << it2->getName() <<endl; |
---|
36 | cout <<tab<< "value :" << it2->getValue() <<endl; |
---|
37 | cout <<tab<< "group :" << it2->getGroup() <<endl; |
---|
38 | |
---|
39 | }//for |
---|
40 | |
---|
41 | }//for |
---|
42 | |
---|
43 | } |
---|
44 | |
---|
45 | };//end bdd |
---|
46 | };//end viewer |
---|
47 | };//end tools |
---|
48 | };//end morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.