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

XML_Types.h File Reference

This file collects the type definitions for data types used in ACE XML parser. More...

#include "ace/pre.h"
#include "ace/OS.h"
#include "ace/SString.h"
#include "ace/post.h"

Include dependency graph for XML_Types.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Defines

#define ACEXML_INLINE

Typedefs

typedef ACE_USHORT16 ACEXML_UTF16
typedef ACE_UINT32 ACEXML_UCS4
typedef char ACEXML_UTF8
typedef ACEXML_UTF8 ACEXML_Char
 ACEXML_Char only maps to ACEXML_UTF16 when ACE_USES_WCHAR is defined. More...

typedef ACE_CString ACEXML_String

Detailed Description

This file collects the type definitions for data types used in ACE XML parser.

XML_Types.h,v 1.5 2002/07/02 22:01:09 kitty Exp

Author:
Nanbor Wang <[email protected]>

Define Documentation

#define ACEXML_INLINE
 


Typedef Documentation

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.

typedef ACE_CString ACEXML_String
 

typedef ACE_UINT32 ACEXML_UCS4
 

typedef ACE_USHORT16 ACEXML_UTF16
 

typedef char ACEXML_UTF8
 


Generated on Thu Oct 10 17:27:25 2002 for ACEXML by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001