Changeset 7125 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Feb 12, 2006, 6:06:26 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.cc
r7008 r7125 80 80 PNode::~PNode () 81 81 { 82 printf("delete PNode: %s::%s\n", this->getClassName(), this->getName()); 82 83 // remove the Node, delete it's children (if required). 83 84 std::list<PNode*>::iterator tmp = this->children.begin(); … … 93 94 { 94 95 if (this == PNode::nullParent && (*deleteNode)->parentMode & PNODE_REPARENT_TO_NULL) 96 { 97 printf("%s::%s deletes PNode: %s::%s\n", 98 this->getClassName(), this->getName(), 99 (*deleteNode)->getClassName(), (*deleteNode)->getName()); 95 100 delete (*deleteNode); 101 } 96 102 else 103 { 104 printf("%s::%s reparents PNode: %s::%s\n", 105 this->getClassName(), this->getName(), 106 (*deleteNode)->getClassName(), (*deleteNode)->getName()); 107 97 108 (*deleteNode)->reparent(); 109 } 98 110 } 99 111 else 112 { 113 printf("%s::%s deletes PNode: %s::%s\n", 114 this->getClassName(), this->getName(), 115 (*deleteNode)->getClassName(), (*deleteNode)->getName()); 100 116 delete (*deleteNode); 117 } 101 118 } 102 119 -
trunk/src/lib/lang/class_list.cc
r7123 r7125 346 346 niceString[30-strlen((*cl).className) - lenCount] = '\0'; 347 347 348 PRINT(0)("| CLASS %s: %s %d\n", (*cl).className, niceString, (*cl).objectList.size());348 PRINT(0)("| CLASS %s::%s %d\n", (*cl).className, niceString, (*cl).objectList.size()); 349 349 350 350 if (debugLevel >=2 && (*cl).objectList.size() > 0) … … 354 354 for (bo = (*cl).objectList.begin(); bo != (*cl).objectList.end(); bo++) 355 355 { 356 PRINT(0)("| (class %s): NAME(%s)->%p ", (*bo)->getClassName(), (*bo)->getName(), (*bo));356 PRINT(0)("| %s::%s::(0x%.8X->%p ", (*bo)->getClassName(), (*bo)->getName(), (*bo)->getClassID(), (*bo)); 357 357 if (debugLevel == 3) 358 358 ClassList::whatIs(*bo);
Note: See TracChangeset
for help on using the changeset viewer.