// file: $isip/class/algo/SegmentConcat/segc_01.cc // version: $Id: segc_01.cc 9389 2004-01-30 00:41:38Z parihar $ // // isip include files // #include "SegmentConcat.h" #include // method: debug // // arguments: // const unichar* msg: (input) message to print // // return: a bool8 value indicating status // bool8 SegmentConcat::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((int32)algorithm_d)); Console::put(output); // display the implementation name // output.debugStr(name(), msg_a, L"implementation_d", IMPL_MAP.getName((int32)implementation_d)); Console::put(output); // display the min_max value // min_max_d.debug(L"min_max_d"); // display the variables relating to input // String value; value.assign(dim_d); output.debugStr(name(), msg_a, L"dim_d", value); Console::put(output); value.assign(level_d); output.debugStr(name(), msg_a, L"level_d", value); Console::put(output); value.assign(min_max_file_d); output.debugStr(name(), msg_a, L"min_max_file_d", value); Console::put(output); value.assign(FeatureFile::FILE_TYPE_MAP.getName(input_type_d)); output.debugStr(name(), msg_a, L"input_type", value); Console::put(output); value.assign(FeatureFile::FILE_FORMAT_MAP.getName(input_format_d)); output.debugStr(name(), msg_a, L"input_format", value); Console::put(output); // display the variables relating to output // value.assign(FeatureFile::FILE_TYPE_MAP.getName(output_type_d)); output.debugStr(name(), msg_a, L"output_type", value); Console::put(output); value.assign(FeatureFile::FILE_FORMAT_MAP.getName(output_format_d)); output.debugStr(name(), msg_a, L"output_format", value); Console::put(output); value.assign(output_directory_d); output.debugStr(name(), msg_a, L"output_directory", value); Console::put(output); value.assign(output_extension_d); output.debugStr(name(), msg_a, L"output_extension", value); Console::put(output); value.assign(output_preserve_d); output.debugStr(name(), msg_a, L"output_preserve", value); Console::put(output); value.assign(output_suffix_d); output.debugStr(name(), msg_a, L"output_suffix", value); Console::put(output); value.assign(audiodb_file_d); output.debugStr(name(), msg_a, L"audiodb_file_d", value); Console::put(output); value.assign(transdb_file_d); output.debugStr(name(), msg_a, L"transdb_file_d", value); Console::put(output); audiodb_d.debug(L"audiodb_d"); transdb_d.debug(L"transdb_d"); // decrease indention // Console::decreaseIndention(); // exit gracefully // return true; }