Changeset 9357 in orxonox.OLD for branches/proxy/src/lib/lang
- Timestamp:
- Jul 20, 2006, 2:33:37 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/lang/class_list.cc
r8783 r9357 23 23 #include <cmath> 24 24 25 using namespace std; 25 26 26 27 27 /** … … 61 61 { 62 62 if (unlikely(classList == NULL)) 63 ClassList::classList = new list<ClassList>();63 ClassList::classList = new std::list<ClassList>(); 64 64 65 65 PRINTF(5)("subscribe a '%s'\n", className.c_str() ); … … 85 85 void ClassList::removeFromClassList(BaseObject* objectPointer) 86 86 { 87 list<ClassList>::iterator cl;87 std::list<ClassList>::iterator cl; 88 88 for(cl = ClassList::classList->begin(); cl != ClassList::classList->end(); cl++) 89 89 { … … 110 110 ClassList::classNames.clear(); 111 111 112 list<ClassList>::const_iterator cl;112 std::list<ClassList>::const_iterator cl; 113 113 for (cl = ClassList::classList->begin(); cl != ClassList::classList->end(); cl++) 114 114 ClassList::classNames.push_back((*cl).className); … … 213 213 else 214 214 { 215 list<ClassList>::iterator cl;215 std::list<ClassList>::iterator cl; 216 216 for (cl = ClassList::classList->begin(); cl != ClassList::classList->end(); cl++) 217 217 { … … 268 268 else 269 269 { 270 list<ClassList>::iterator cl;270 std::list<ClassList>::iterator cl; 271 271 for (cl = ClassList::classList->begin(); cl != ClassList::classList->end(); cl++) 272 272 { … … 299 299 void ClassList::whatIs(const BaseObject* object) 300 300 { 301 list<ClassList>::iterator cl;301 std::list<ClassList>::iterator cl; 302 302 for (cl = ClassList::classList->begin(); cl != ClassList::classList->end(); cl++) 303 303 if (object->isA((*cl).classID)) … … 359 359 int lenCount = 0; 360 360 361 list<ClassList>::iterator cl;361 std::list<ClassList>::iterator cl; 362 362 for (cl = ClassList::classList->begin(); cl != ClassList::classList->end(); cl++) 363 363 { … … 377 377 { 378 378 PRINT(0)("| Listing Instances:\n"); 379 list<BaseObject*>::const_iterator bo;379 std::list<BaseObject*>::const_iterator bo; 380 380 for (bo = (*cl).objectList.begin(); bo != (*cl).objectList.end(); bo++) 381 381 {
Note: See TracChangeset
for help on using the changeset viewer.