Changeset 289 for cpp/frams


Ignore:
Timestamp:
01/06/15 03:14:10 (10 years ago)
Author:
Maciej Komosinski
Message:

Removed usage of NeuroItem?; item details -> details

Location:
cpp/frams
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/genomanipulation.cpp

    r288 r289  
    177177       "adding inputs (addInput(Neuro*)) and removing them (removeInput(int)).\n\n");
    178178
    179 printf("\nThe most unusual thing is 'item details' field (d).\n"
     179printf("\nThe most unusual thing is 'details' field (d).\n"
    180180       "It is something like separate object with its own set of properties.\n"
    181181       "Currently the value of 'd' is '%s'.\n",(const char*)n->getDetails());
     
    188188{
    189189
    190 printf("'%s' is the class name (NeuroItem::getClassName() == '%s') and means '%s'.\n",
     190printf("'%s' is the class name (Neuro::getClassName() == '%s') and means '%s'.\n",
    191191       (const char*)cl->getName(),(const char*)cl->getName(),(const char*)cl->getLongName());
    192192printf("Neuro::getClass() gives you information about basic characteristic\n"
     
    209209        p.update();
    210210        n->getModel().close();
    211         printf("After that, 'item details' contains the new object: '%s'.\n",(const char*)n->getDetails());
     211        printf("After that, 'details' contains the new object: '%s'.\n",(const char*)n->getDetails());
    212212        }
    213213else
     
    228228        }
    229229int cl=rand() % n->getClassCount();
    230 printf("\nLet's change the NeuroItem's class to '%s'...\n",(const char*)n->getClassName(cl));
     230printf("\nLet's change the Neuro's class to '%s'...\n",(const char*)n->getClassName(cl));
    231231n->getModel().open();
    232232n->setClass(n->getClass(cl));
  • cpp/frams/config/f0-SDK.def

    r288 r289  
    8383PROP(p,0,0,`part ref#',d,-1,999999,-1,part_refno)
    8484PROP(j,0,0,`joint ref#',d,-1,999999,-1,joint_refno)
    85 PROP(d,1,0,item details,s,,,N,details,GETSET)
     85PROP(d,1,0,details,s,,,N,details,GETSET)
    8686PROP(i,1,0,`info',s,,,,info)
    8787PROP(Vstyle,2,0,vis_style,s,0,-1,neuro,vis_style)
  • cpp/frams/config/f0.def

    r267 r289  
    8383PROP(p,0,0,`part ref#',d,-1,999999,-1,part_refno)
    8484PROP(j,0,0,`joint ref#',d,-1,999999,-1,joint_refno)
    85 PROP(d,1,0,item details,s,,,N,details,GETSET)
     85PROP(d,1,0,details,s,,,N,details,GETSET)
    8686PROP(i,1,0,`info',s,,,,info)
    8787PROP(Vstyle,2,0,vis_style,s,0,-1,neuro,vis_style)
  • cpp/frams/config/f0def.xml

    r267 r289  
    7070  <PROP ID="p" NAME="part ref#" GROUP="0" FLAGS="0" TYPE="d" MIN="-1" MAX="999999" DEF="-1" />
    7171  <PROP ID="j" NAME="joint ref#" GROUP="0" FLAGS="0" TYPE="d" MIN="-1" MAX="999999" DEF="-1" />
    72   <PROP ID="d" NAME="item details" GROUP="1" FLAGS="0" TYPE="s" DEF="N" />
     72  <PROP ID="d" NAME="details" GROUP="1" FLAGS="0" TYPE="s" DEF="N" />
    7373  <PROP ID="i" NAME="info" GROUP="1" FLAGS="0" TYPE="s" />
    7474  <PROP ID="Vstyle" NAME="vis_style" GROUP="2" FLAGS="0" TYPE="s" MIN="0" MAX="-1" DEF="neuro" />
  • cpp/frams/model/f0-SDK-classes.h

    r288 r289  
    149149 {"p",0,0,"part ref#","d -1 999999 -1",FIELD(part_refno),},
    150150 {"j",0,0,"joint ref#","d -1 999999 -1",FIELD(joint_refno),},
    151  {"d",1,0,"item details","s",GETSET(details),},
     151 {"d",1,0,"details","s",GETSET(details),},
    152152 {"i",1,0,"info","s",FIELD(info),},
    153153 {"Vstyle",2,0,"vis_style","s 0 -1 neuro",FIELD(vis_style),},
Note: See TracChangeset for help on using the changeset viewer.