Changeset 9371 in orxonox.OLD for branches/proxy/src/lib/shell/shell_command.cc
- Timestamp:
- Jul 20, 2006, 11:08:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/shell/shell_command.cc
r9347 r9371 254 254 { 255 255 for (bo = objectList->begin(); bo != objectList->end(); bo++) 256 if ( (*bo)->getName() != NULL &&!nocaseCmp(objectDescriptor, (*bo)->getName(), objectDescriptor.size()))256 if (!nocaseCmp(objectDescriptor, (*bo)->getName(), objectDescriptor.size())) 257 257 boList->push_back(*bo); 258 258 } … … 298 298 for(std::vector<BaseObject*>::const_iterator bo = boList.begin(); bo != boList.end(); ++bo) 299 299 { 300 PRINT(0)("Command '%s' on '%s::%s'\n", sc->get Name(), (*bo)->getClassName(), (*bo)->getName());300 PRINT(0)("Command '%s' on '%s::%s'\n", sc->getCName(), (*bo)->getClassCName(), (*bo)->getCName()); 301 301 (*sc->executor)((*bo), inputSplits.subSet(paramBegin)); 302 302 } … … 331 331 if (this->alias != NULL) 332 332 { 333 PRINTF(2)("not more than one Alias allowed for functions (%s::%s)\n", this->get Name(), this->shellClass->getName());333 PRINTF(2)("not more than one Alias allowed for functions (%s::%s)\n", this->getCName(), this->shellClass->getCName()); 334 334 } 335 335 else … … 369 369 { 370 370 PRINTF(1)("Parameter %d not inside of valid ParameterCount %d of Command %s::%s\n", 371 parameter, this->executor->getParamCount(), this->get Name(), this->shellClass->getName());371 parameter, this->executor->getParamCount(), this->getCName(), this->shellClass->getCName()); 372 372 } 373 373 else … … 385 385 void ShellCommand::help() const 386 386 { 387 PRINT(0)("%s ", this->get Name());387 PRINT(0)("%s ", this->getCName()); 388 388 } 389 389
Note: See TracChangeset
for help on using the changeset viewer.