Changeset 9715 in orxonox.OLD for branches/new_class_id/src/lib/shell/shell_completion.cc
- Timestamp:
- Sep 1, 2006, 8:06:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/shell/shell_completion.cc
r9709 r9715 50 50 bool ShellCompletion::autoComplete(std::string& input) 51 51 { 52 NewClassID classID;53 const NewObjectListBase* objectList = NULL; //< the list of Objects stored in classID's ClassList52 ClassID classID; 53 const ObjectListBase* objectList = NULL; //< the list of Objects stored in classID's ClassList 54 54 bool emptyComplete = false; //< if the completion input is empty string. e.g "" 55 55 long completeType = NullCompletion; //< the Type we'd like to complete. … … 84 84 (!emptyComplete && inputSplits.size() == 2)) 85 85 { 86 objectList = NewObjectListBase::getObjectList(inputSplits[0]);86 objectList = ObjectListBase::getObjectList(inputSplits[0]); 87 87 if (objectList != NULL) 88 88 classID = objectList->identity(); … … 95 95 (!emptyComplete && inputSplits.size() == 3)) 96 96 { 97 if ( NewObjectListBase::getBaseObject(inputSplits[0], inputSplits[1]))97 if (ObjectListBase::getBaseObject(inputSplits[0], inputSplits[1])) 98 98 completeType |= FunctionCompletion; 99 99 } … … 133 133 * @return true on success, false otherwise 134 134 */ 135 bool ShellCompletion::objectComplete(const std::string& objectBegin, const NewObjectListBase* objectList)135 bool ShellCompletion::objectComplete(const std::string& objectBegin, const ObjectListBase* objectList) 136 136 { 137 137 assert (objectList != NULL); … … 141 141 type = ClassCompletion; 142 142 143 NewObjectListBase::base_list list;143 ObjectListBase::base_list list; 144 144 objectList->getBaseObjectList(&list); 145 145
Note: See TracChangeset
for help on using the changeset viewer.