Changeset 5331 in orxonox.OLD for trunk/src/lib/lang
- Timestamp:
- Oct 8, 2005, 11:26:53 PM (19 years ago)
- Location:
- trunk/src/lib/lang
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/lang/class_list.cc
r5329 r5331 28 28 using namespace std; 29 29 30 SHELL_COMMAND_STATIC(debug, ClassList, ClassList::debug); 30 SHELL_COMMAND_STATIC(debug, ClassList, ClassList::debugS) 31 ->describe("Shows all registered classes, if param1: is a valid ClassName only values of this class are shown. param2: how much output") 32 ->defaultValues(2, NULL, 1); 31 33 32 34 /** … … 379 381 PRINT(0)("=======================CL=\n"); 380 382 } 383 384 /** 385 * Print out some very nice debug information 386 * @param debugLevel the level of verbosity 387 * @param className the class that should be displayed. 388 * @see ClassList::debug 389 */ 390 void ClassList::debugS(const char* className, unsigned int debugLevel) 391 { 392 ClassList::debug(debugLevel, ClassList::StringToID(className)); 393 } -
trunk/src/lib/lang/class_list.h
r5194 r5331 49 49 static long StringToID(const char* className); 50 50 static void debug(unsigned int debugLevel = 0, long classID = CL_NULL); 51 static void debugS(const char* className = 0x0, unsigned int debugLevel = 0); 51 52 52 53
Note: See TracChangeset
for help on using the changeset viewer.