Changeset 7408 in orxonox.OLD for trunk/src/lib/shell/shell_command_class.cc
- Timestamp:
- Apr 27, 2006, 9:09:55 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command_class.cc
r7407 r7408 110 110 * @returns the CommandClass if found, NULL otherwise 111 111 */ 112 const ShellCommandClass* ShellCommandClass:: exists(const std::string& className)112 const ShellCommandClass* ShellCommandClass::getCommandClass(const std::string& className) 113 113 { 114 114 std::vector<ShellCommandClass*>::const_iterator classIT; … … 127 127 128 128 /** 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 /** 129 139 * @brief searches for a CommandClass 130 140 * @param className the name of the CommandClass 131 141 * @returns the CommandClass if found, or a new CommandClass if not 132 142 */ 133 ShellCommandClass* ShellCommandClass:: getCommandClass(const std::string& className)143 ShellCommandClass* ShellCommandClass::acquireCommandClass(const std::string& className) 134 144 { 135 145 std::vector<ShellCommandClass*>::iterator classIT;
Note: See TracChangeset
for help on using the changeset viewer.