source: trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Bdd/src/BaseV_afficheParamConsole.cpp @ 81

Last change on this file since 81 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: 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
8namespace morpheo{
9namespace tools{
10namespace viewer{
11namespace 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.