Changeset 289 for cpp/frams/_demos


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

Removed usage of NeuroItem?; item details -> details

File:
1 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));
Note: See TracChangeset for help on using the changeset viewer.