Changeset 124 for cpp/frams/_demos


Ignore:
Timestamp:
02/10/14 17:09:58 (6 years ago)
Author:
sz
Message:

Param::save altname argument is now more convenient const char*

File:
1 edited

Legend:

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

    r121 r124  
    5050
    5151modelparam.select(&m);
    52 modelparam.save(&f,&SString("m"));
     52modelparam.save(&f,"m");
    5353
    5454Part *p;
     
    5959        {
    6060        partparam.select(p);
    61         partparam.save(&f,&SString("p"));
     61        partparam.save(&f,"p");
    6262        }
    6363for (int i=0;j=(Joint*)m.getJoint(i);i++)
     
    6565        jointparam.select(j);
    6666        jointparam.setParamTab(j->usedelta?f0_joint_paramtab:f0_nodeltajoint_paramtab);
    67         jointparam.save(&f,&SString("j"));
     67        jointparam.save(&f,"j");
    6868        }
    6969for (int i=0;n=(Neuro*)m.getNeuro(i);i++)
    7070        {
    7171        neuroparam.select(n);
    72         neuroparam.save(&f,&SString("n"));
     72        neuroparam.save(&f,"n");
    7373        }
    7474for (int a=0;n=(Neuro*)m.getNeuro(a);a++)
     
    8383                nc.info=n->getInputInfo(b);
    8484                connparam.select(&nc);
    85                 connparam.save(&f,&SString("c"));
     85                connparam.save(&f,"c");
    8686                }
    8787        }
Note: See TracChangeset for help on using the changeset viewer.