Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5791 in orxonox.OLD for trunk/src/lib/shell


Ignore:
Timestamp:
Nov 27, 2005, 3:32:42 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: stl::list used in ClassList

Location:
trunk/src/lib/shell
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_command.cc

    r5779 r5791  
    202202          classID = ClassList::StringToID((*commandClassIT)->getName());
    203203          commandClass = (*commandClassIT);
    204           objectList = ClassList::getList(classID);
     204          objectList = ClassList::getList((ClassID)classID);
    205205          break;
    206206        }
  • trunk/src/lib/shell/shell_completion.cc

    r5783 r5791  
    112112  {
    113113    classID = ClassList::StringToID(inputSplits.getString(0));
    114     objectList = ClassList::getList(classID);
     114    objectList = ClassList::getList((ClassID)classID);
    115115    if (classID != CL_NULL)
    116116      completeType |= SHELLC_OBJECT;
     
    151151  if (unlikely(classBegin == NULL))
    152152    return false;
    153   const std::list<const char*>* clList = ClassList::getClassList();
     153  const std::list<const char*>* clList = ClassList::getClassNames();
    154154  if (clList != NULL)
    155155  {
     
    172172  if (unlikely(objectBegin == NULL))
    173173    return false;
    174   const std::list<BaseObject*>* boList = ClassList::getList(classID);
     174  const std::list<BaseObject*>* boList = ClassList::getList((ClassID)classID);
    175175  if (boList != NULL)
    176176  {
Note: See TracChangeset for help on using the changeset viewer.