// file: $isip/class/search/HierarchicalSearch/hsrch_01.cc // version: $Id: hsrch_01.cc 9742 2004-08-20 20:43:15Z may $ // // isip include files // #include "HierarchicalSearch.h" #ifndef ISIP_CONSOLE #include #endif // method: debug // // arguments: // const unichar* msg: (input) message to print // // return: logical error status // // this is the debug method // bool8 HierarchicalSearch::debug(const unichar* msg_a) const { // dump the data // String output; String value; // write the front end // // value.assign(front_end_d); // output.debugStr(name(), msg_a, L"front_end_d", value); // Console::put(output); // write the current frame // current_frame_d.debug(L"current_frame_d"); // write the search levels // int32 num_levels = h_digraph_d->length(); String param; for (int32 i = 0; i < num_levels; i++) { param.assign(L"search_levels["); value.assign(i); param.concat(value); param.concat(L"]"); output.assign(msg_a); output.concat(L": "); output.concat(param); (*h_digraph_d)(i).debug((unichar*)output); } // exit gracefully // return true; }