📄 lar_01.cc
字号:
// file: $isip/class/algo/LogAreaRatio/lar_01.cc// version: $Id: lar_01.cc,v 1.1 2001/03/29 15:17:22 srivasta Exp $//// isip include files//#include "LogAreaRatio.h"#include <Console.h>// method: debug//// arguments:// const unichar* msg: (input) message to print//// return: a boolean value indicating status//boolean LogAreaRatio::debug(const unichar* msg_a) const { // declare local variables // String output; // output an information message // output.debugStr(name(), msg_a, L":"); Console::put(output); Console::increaseIndention(); // display the algorithm choice // output.debugStr(name(), msg_a, L"algorithm_d", ALGO_MAP((long)algorithm_d)); Console::put(output); // display the implementation name // output.debugStr(name(), msg_a, L"implementation_d", IMPL_MAP.getName((long)implementation_d)); Console::put(output); // display debug_level // output.debugStr(name(), msg_a, L"debug_level_d", debug_level_d.getName()); Console::put(output); // decrease indention // Console::decreaseIndention(); // exit gracefully // return true;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -