// file: $isip/class/algo/Prediction/pred_01.cc // version: $Id: pred_01.cc 7696 2002-02-06 03:17:04Z zheng $ // // isip include files // #include "Prediction.h" #include #include // method: debug // // arguments: // const unichar* msg: (input) message to print // // return: a bool8 value indicating status // bool8 Prediction::debug(const unichar* msg_a) const { // declare local variables // String value; String output; String empty_str; // output the information message // output.debugStr(name(), msg_a, L":"); Console::put(output); // increase the indentation // Console::increaseIndention(); // display the order // value.assign(order_d); output.debugStr(name(), empty_str, L"order_d", value); Console::put(output); // display the algorithm name // output.debugStr(name(), empty_str, L"algorithm_d", Prediction::ALGO_MAP.getName((int32)algorithm_d)); Console::put(output); // display the implementation name // output.debugStr(name(), empty_str, L"implementation_d", Prediction::IMPL_MAP.getName((int32)implementation_d)); Console::put(output); // display the dynamic range threshold // value.assign(dyn_range_d); output.debugStr(name(), empty_str, L"dyn_range_d", value); Console::put(output); // 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; }