Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9680 in orxonox.OLD for trunk


Ignore:
Timestamp:
Aug 22, 2006, 12:06:17 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: nicer output

Location:
trunk/src/lib/lang
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/lang/new_class_id.cc

    r9678 r9680  
    9494  ClassList::const_iterator it;
    9595  for (it = this->_classes.begin(); it != this->_classes.end(); ++it)
    96     PRINT(0)(" -> %s", (*it)._objectList->name().c_str());
     96    PRINT(0)(" -> %s(id:%d)", (*it)._objectList->name().c_str(), (*it)._objectList->id());
    9797  PRINT(0)("\n");
    9898
  • trunk/src/lib/lang/test_object_list.cc

    r9679 r9680  
    6565    this->registerObject(this, Bone::objectList);
    6666    this->_id.listInheritance();
     67    std::cout << "LeafID:" << this->_id.leafClassID() << std::endl;
    6768
    6869    //std::cout << "Bone()\n";
     
    8081  for (unsigned int i = 0; i < 20; ++i)
    8182  {
    82     std::cout<< i << std::endl;
     83    std::cout<< i <<  std::endl ;
    8384    Bone* test = new Bone[10000];
    8485    // delete[]test;
Note: See TracChangeset for help on using the changeset viewer.