Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Transcoder_Test.cpp File Reference

#include "ACEXML/common/Transcode.h"
#include "ace/Log_Msg.h"

Include dependency graph for Transcoder_Test.cpp:

Include dependency graph

Go to the source code of this file.

Functions

void dump_utf16 (const ACEXML_UTF16 *data, size_t len)


Function Documentation

void dump_utf16 const ACEXML_UTF16   data,
size_t    len
 

Definition at line 6 of file Transcoder_Test.cpp.

References ACE_DEBUG, ACEXML_UTF16, and LM_DEBUG.

00008 {
00009   size_t ptr = 0;
00010 
00011   while (1)
00012     {
00013       ACE_DEBUG ((LM_DEBUG, "%04x", data[ptr]));
00014 
00015       if (++ptr >= len)
00016         break;
00017 
00018       if (ptr % 4 == 0)
00019         ACE_DEBUG ((LM_DEBUG, "\n"));
00020       else
00021         ACE_DEBUG ((LM_DEBUG, "  "));
00022     }
00023   ACE_DEBUG ((LM_DEBUG, "\n"));
00024   return;
00025 }


Generated on Mon Jun 16 13:25:59 2003 for ACEXML by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002