📄 filt_01.cc
字号:
// file: $isip/class/algo/Filter/filt_01.cc// version: $Id: filt_01.cc,v 1.10 2002/05/31 21:57:26 picone Exp $//// isip include files//#include "Filter.h"#include <Console.h>// method: debug//// arguments:// const unichar* msg: (input) message to print//// return: a boolean value indicating status//boolean Filter::debug(const unichar* msg_a) const { // declare local variables // String value; String output; // output the information message // output.debugStr(name(), msg_a, L":"); Console::put(output); Console::increaseIndention(); // display the algorithm name // output.debugStr(name(), msg_a, L"algorithm_d", ALGO_MAP.getName((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 the mode name // output.debugStr(name(), msg_a, L"cmode_d", CMODE_MAP.getName((long)cmode_d)); Console::put(output); // display the cmode name // output.debugStr(name(), msg_a, L"dmode_d", DMODE_MAP.getName((long)dmode_d)); Console::put(output); // display the coefficients // ar_coef_d.debug(L"ar_coef_d"); ma_coef_d.debug(L"ma_coef_d"); // display the lags // ar_lag_d.debug(L"ar_lag_d"); ma_lag_d.debug(L"ma_lag_d"); // display the memory // ma_mem_d.debug(L"ma_memory"); ar_mem_d.debug(L"ar_memory"); // display the debug level // value.assign((long) debug_level_d); output.debugStr(name(), msg_a, L"debug_level_d", value); Console::put(output); // display the base class // AlgorithmBase::debug(L"AlgorithmBase"); // decrease indention // Console::decreaseIndention(); // exit gracefully // return true;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -