XML_Types.h File Reference

#include "ace/config-all.h"
#include "ace/Basic_Types.h"
#include "ace/SString.h"
#include "ace/Functor_String.h"

Include dependency graph for XML_Types.h:

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

Go to the source code of this file.

Defines

#define ACEXML_INLINE

Typedefs

typedef ACE_USHORT16 ACEXML_UTF16
typedef ACE_UINT32 ACEXML_UCS4
typedef char ACEXML_UTF8
typedef ACE_TCHAR ACEXML_Char
typedef ACE_CString ACEXML_String


Detailed Description

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

Id
XML_Types.h 80826 2008-03-04 14:51:23Z wotte

Author:
Nanbor Wang <nanbor@cs.wustl.edu>

Definition in file XML_Types.h.


Define Documentation

#define ACEXML_INLINE

Definition at line 77 of file XML_Types.h.


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.

Definition at line 57 of file XML_Types.h.

typedef ACE_CString ACEXML_String

Definition at line 63 of file XML_Types.h.

typedef ACE_UINT32 ACEXML_UCS4

Definition at line 39 of file XML_Types.h.

typedef ACE_USHORT16 ACEXML_UTF16

Definition at line 33 of file XML_Types.h.

typedef char ACEXML_UTF8

Definition at line 42 of file XML_Types.h.


Generated on Tue Feb 2 17:37:12 2010 for ACEXML by  doxygen 1.4.7