source: trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Bdd/src/BaseV_accessors.cpp @ 32

Last change on this file since 32 was 32, checked in by chou, 17 years ago

Morpheo Viewer Release 5.0
Réalisation des étapes 3 (fin) et 4.

File size: 861 bytes
Line 
1 /*
2 *
3 * [desc.]
4 */
5#include "Tools/Viewer/Bdd/include/BaseV.h"
6
7namespace morpheo{
8namespace tools{
9namespace viewer{
10namespace 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.