#include "ace/config-all.h"
#include "ace/Basic_Types.h"
#include "ace/SString.h"
#include "ace/Functor_String.h"
This file collects the type definitions for data types used in ACE XML parser.
- Author
- Nanbor Wang nanbo.nosp@m.r@cs.nosp@m..wust.nosp@m.l.ed.nosp@m.u
◆ __ACEXML_INLINE__
#define __ACEXML_INLINE__ inline |
◆ ACEXML_INLINE
#define ACEXML_INLINE inline |
◆ ACEXML_Char
ACEXML_Char only maps to ACEXML_UTF16 when ACE_USES_WCHAR is defined. Here we assume sizeof (wchar_t) is always 2 bytes.
Default XML strings will use UTF-8 encoding. We would like to use the string classes in standard C++ Library here. But they are not very portable yet (as far as I know,) and I'll just use ACE_CString for now, unless UNICODE support is turned on. Notice that you should never convert strings between ACE_CString and ACE_WString using the built-in conversion functions as they only perform simple copy without any encoding conversion.
◆ ACEXML_String
◆ ACEXML_UCS4
◆ ACEXML_UTF16
◆ ACEXML_UTF8