Changeset 5104 in orxonox.OLD for trunk/src/util
- Timestamp:
- Aug 22, 2005, 6:14:28 PM (19 years ago)
- Location:
- trunk/src/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/shell.cc
r5103 r5104 482 482 if (unlikely(classBegin == NULL)) 483 483 return false; 484 const tList<const char>* classList = this-> searchClassWithShort(classBegin);484 const tList<const char>* classList = this->createCompleteList(ClassList::getClassList(), classBegin); 485 485 if (classList->getSize() == 0) 486 486 { … … 541 541 * !! The strings MUST NOT be deleted !! 542 542 */ 543 const tList<const char>* Shell:: searchClassWithShort(const char* classNameBegin)543 const tList<const char>* Shell::createCompleteList(const tList<const char>* inputList, const char* classNameBegin) 544 544 { 545 545 unsigned int searchLength = strlen(classNameBegin); … … 550 550 // tList<const char>* classList = ClassList::getClassList(); 551 551 552 tIterator<const char>* iterator = ClassList::getClassList()->getIterator();552 tIterator<const char>* iterator = inputList->getIterator(); 553 553 const char* enumString = iterator->nextElement(); 554 554 while (enumString != NULL) -
trunk/src/util/shell.h
r5103 r5104 72 72 73 73 74 const tList<const char>* searchClassWithShort(const char* classNameBegin);74 const tList<const char>* Shell::createCompleteList(const tList<const char>* inputList, const char* classNameBegin); 75 75 76 76
Note: See TracChangeset
for help on using the changeset viewer.