Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 20, 2006, 11:08:16 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: ORXONOX is now completely std::stringed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/shell/shell_command.cc

    r9347 r9371  
    254254      {
    255255        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()))
    257257            boList->push_back(*bo);
    258258      }
     
    298298      for(std::vector<BaseObject*>::const_iterator bo = boList.begin(); bo != boList.end(); ++bo)
    299299      {
    300         PRINT(0)("Command '%s' on '%s::%s'\n", sc->getName(), (*bo)->getClassName(), (*bo)->getName());
     300        PRINT(0)("Command '%s' on '%s::%s'\n", sc->getCName(), (*bo)->getClassCName(), (*bo)->getCName());
    301301        (*sc->executor)((*bo), inputSplits.subSet(paramBegin));
    302302      }
     
    331331    if (this->alias != NULL)
    332332    {
    333       PRINTF(2)("not more than one Alias allowed for functions (%s::%s)\n", this->getName(), this->shellClass->getName());
     333      PRINTF(2)("not more than one Alias allowed for functions (%s::%s)\n", this->getCName(), this->shellClass->getCName());
    334334    }
    335335    else
     
    369369    {
    370370      PRINTF(1)("Parameter %d not inside of valid ParameterCount %d of Command %s::%s\n",
    371                 parameter, this->executor->getParamCount(), this->getName(), this->shellClass->getName());
     371                parameter, this->executor->getParamCount(), this->getCName(), this->shellClass->getCName());
    372372    }
    373373    else
     
    385385  void ShellCommand::help() const
    386386  {
    387     PRINT(0)("%s ", this->getName());
     387    PRINT(0)("%s ", this->getCName());
    388388  }
    389389
Note: See TracChangeset for help on using the changeset viewer.