Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7408 in orxonox.OLD for trunk/src/lib/shell/shell_command_class.cc


Ignore:
Timestamp:
Apr 27, 2006, 9:09:55 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: exist get functions

File:
1 edited

Legend:

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

    r7407 r7408  
    110110   * @returns the CommandClass if found, NULL otherwise
    111111   */
    112   const ShellCommandClass* ShellCommandClass::exists(const std::string& className)
     112  const ShellCommandClass* ShellCommandClass::getCommandClass(const std::string& className)
    113113  {
    114114    std::vector<ShellCommandClass*>::const_iterator classIT;
     
    127127
    128128  /**
     129   * @brief checks if a Class is already registered to the Commands' class-stack
     130   * @param className the Name of the Class to check for
     131   * @returns the CommandClass if found, NULL otherwise
     132   */
     133/*  bool ShellCommandClass::exists(const std::string& className)
     134  {
     135
     136  }*/
     137
     138  /**
    129139   * @brief searches for a CommandClass
    130140   * @param className the name of the CommandClass
    131141   * @returns the CommandClass if found, or a new CommandClass if not
    132142   */
    133   ShellCommandClass* ShellCommandClass::getCommandClass(const std::string& className)
     143  ShellCommandClass* ShellCommandClass::acquireCommandClass(const std::string& className)
    134144  {
    135145    std::vector<ShellCommandClass*>::iterator classIT;
Note: See TracChangeset for help on using the changeset viewer.