📄 nmap_01.cc
字号:
// file: $isip/class/io/NameMap/nmap_01.cc// version: $Id: nmap_01.cc,v 1.1 2000/12/13 23:35:59 duncan Exp $//// isip include files// #include "NameMap.h"#include <Console.h>// method: debug//// arguments:// const unichar* msg: (input) message to print//// return: a boolean value indicating status//boolean NameMap::debug(const unichar* msg_a) const { // declare local variables // SysString value; SysString output; // output an information message // output.debugStr(name(), msg_a, L"names_d"); Console::put(output); Console::increaseIndention(); // call the debug method of Vector<String> // for (long i = 0; i < size_d; i++) { SysString num; num.assign((long)i); num.insert(L"element[", 0); num.concat(L"]"); names_d[i].debug((unichar*)num); } // decrease indention // Console::decreaseIndention(); // display the checksum // value.assign((ushort)checksum_d); output.debugStr(name(), msg_a, L"checksum_d", value); Console::put(output); // display the debug level // value.assign((long)debug_level_d); output.debugStr(name(), msg_a, L"debug_level_d", value); Console::put(output); // exit gracefully // return true;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -